File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 19
19
- name : Install dependencies
20
20
run : |
21
21
python -m pip install --upgrade pip
22
- pip install -r requirements.txt
22
+ CONDA_BASE=$(conda info --base)
23
+ source "${CONDA_BASE}/etc/profile.d/conda.sh"
24
+ conda env update --prune --file environment.yml
25
+ conda activate coast
23
26
- name : Lint with flake8
24
27
run : |
25
28
pip install flake8
@@ -29,10 +32,10 @@ jobs:
29
32
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
30
33
- name : Test with pytest
31
34
run : |
32
- pip install dask[complete]
33
- conda install --file environment.yml
35
+ CONDA_BASE=$(conda info --base)
36
+ source "${CONDA_BASE}/etc/profile.d/conda.sh"
37
+ conda env update --prune --file environment.yml
38
+ conda activate coast
34
39
sudo apt-get update
35
40
sudo apt-get install -y libgeos-dev
36
- pip install cartopy==0.21.0
37
- pip install zarr
38
41
pytest tests
You can’t perform that action at this time.
0 commit comments