Skip to content

Commit 88e1c5b

Browse files
committed
Adds workaround to CI for windows and py3.7
1 parent 76f8b96 commit 88e1c5b

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/pythonpackage.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
pip install -r requirements.txt
31-
- name: Lint with flake8
30+
- name: Workaround for windows and python 3.7
31+
if: matrix.os == 'windows-latest' && matrix.python-version == 3.7
32+
run: |
33+
pip install netCDF4<=1.5.8
34+
# There is no binary package of netCF4>=1.6.0 for windows and python 3.7
35+
# the largest supported version is 1.5.8
36+
- name: Install dependencies
3237
run: |
33-
# pip install flake8
34-
# stop the build if there are Python syntax errors or undefined names
35-
# flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
36-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
37-
# flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
38+
pip install -r requirements.txt
3839
- name: Build package
3940
run: |
4041
python -m pip install -e .

0 commit comments

Comments
 (0)