Fix vulnerability test #5593
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow file for continuous integration | |
# Conda environment is caches to avoid long wait times for CI | |
# Based on code from: https://github.com/epassaro/cache-conda-envs/blob/main/.github/workflows/ci.yml | |
# Based on code from: https://github.com/marketplace/actions/setup-miniconda | |
name: ci | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: psf/black@stable | |
build: | |
name: linux-64 | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v2 | |
- name: Setup miniconda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-activate-base: false | |
activate-environment: climakitae-tests | |
environment-file: conda-linux-64.lock | |
use-only-tar-bz2: true | |
- name: Output conda info | |
run: conda info | |
- name: Output conda list | |
run: conda list | |
- name: Install pip packages | |
run: pip install numba==0.53.1 timezonefinder==6.0.2 dask-gateway==2023.1.1 dask-geopandas==0.3.1 xclim==0.42.0 | |
- name: Install climakitae | |
run: pip install . | |
- name: Output conda list | |
run: conda list | |
- name: Test with pytest | |
run: pytest --no-header -vv |