File tree 5 files changed +34
-1
lines changed
5 files changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -42,12 +42,25 @@ jobs:
42
42
with :
43
43
python-version : " 3.8"
44
44
45
- - name : Install dependencies 🔧
45
+ - name : Install dependencies (Linux) 🔧
46
+ if : ${{ matrix.os == 'ubuntu-20.04' && steps.changes.outputs.code == 'true' }}
46
47
run : |
47
48
python -VV
48
49
python -m site
49
50
python -m pip install --upgrade pip setuptools wheel
50
51
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
52
+ sudo add-apt-repository universe
53
+ sudo apt update
54
+ sudo apt install libhdf5-dev netcdf-bin libnetcdf-dev
55
+
56
+ - name : Install dependencies (Windows) 🔧
57
+ if : ${{ matrix.os != 'ubuntu-20.04' && steps.changes.outputs.code == 'true' }}
58
+ run : |
59
+ python -VV
60
+ python -m site
61
+ python -m pip install --upgrade pip setuptools wheel
62
+ python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
63
+ pip config set global.prefer-binary true
51
64
52
65
- name : " Run mypy"
53
66
if : steps.changes.outputs.code == 'true'
Original file line number Diff line number Diff line change 61
61
python -m site
62
62
python -m pip install --upgrade pip setuptools wheel
63
63
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
64
+ pip config set global.prefer-binary true
64
65
65
66
- name : " Run Tests for Python ${{ matrix.config.python-version }}"
66
67
if : steps.setup-python.outcome == 'success'
Original file line number Diff line number Diff line change 62
62
python -m site
63
63
python -m pip install --upgrade pip setuptools wheel
64
64
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
65
+ sudo add-apt-repository universe
66
+ sudo apt update
67
+ sudo apt install libhdf5-dev netcdf-bin libnetcdf-dev
65
68
66
69
- name : " Run Tests for Python ${{ matrix.config.python-version }}"
67
70
if : steps.setup-python.outcome == 'success'
Original file line number Diff line number Diff line change 61
61
python -m site
62
62
python -m pip install --upgrade pip setuptools wheel
63
63
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
64
+ pip config set global.prefer-binary true
64
65
65
66
- name : " Run Tests for Python ${{ matrix.config.python-version }}"
66
67
if : steps.setup-python.outcome == 'success'
Original file line number Diff line number Diff line change @@ -48,3 +48,18 @@ sphinx_conf_epilogue:
48
48
# additional_ignore:
49
49
# - old/*
50
50
# - .vscode/*
51
+
52
+ github_ci_requirements :
53
+ Linux :
54
+ post :
55
+ - sudo add-apt-repository universe
56
+ - sudo apt update
57
+ - sudo apt install libhdf5-dev netcdf-bin libnetcdf-dev
58
+ Windows :
59
+ post :
60
+ # Prefery binary wheels for older versions over sdists for newer ones
61
+ - pip config set global.prefer-binary true
62
+ macOS :
63
+ post :
64
+ # Prefery binary wheels for older versions over sdists for newer ones
65
+ - pip config set global.prefer-binary true
You can’t perform that action at this time.
0 commit comments