Skip to content

Commit 88409f0

Browse files
committed
update check pypi install workflow
1 parent ff374ee commit 88409f0

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/test-pypi-install.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Test PyPI install
2-
on:
3-
schedule:
4-
# * is a special character in YAML so you have to quote this string
5-
- cron: '0 0 * * 3'
2+
on: push
3+
# schedule:
4+
# # * is a special character in YAML so you have to quote this string
5+
# - cron: '0 0 * * 3'
66

77
jobs:
88
test-installation:
@@ -18,6 +18,13 @@ jobs:
1818
uses: actions/setup-python@v1
1919
with:
2020
python-version: ${{ matrix.python-version }}
21+
# no windows wheel for Python 3.6 cftime 1.3.1
22+
# https://github.com/Unidata/cftime/issues/224
23+
- name: Install cftime 1.3.0 (${{ runner.os }})
24+
if: startsWith(runner.os, 'Windows') && endsWith(matrix.python-version, '3.6')
25+
run: |
26+
pip install --upgrade --user pip wheel
27+
pip install cftime==1.3.0
2128
- name: Install package
2229
# avoid installing pre-releases of non-scmdata packages
2330
run: |

0 commit comments

Comments
 (0)