Skip to content

Commit 630b61f

Browse files
committed
run tests on mac and windows
1 parent 88e431d commit 630b61f

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010

1111
jobs:
1212
test:
13-
runs-on: ubuntu-20.04
13+
runs-on: ${{ matrix.runs_on || 'ubuntu-20.04' }}
1414
timeout-minutes: 10
1515

1616
strategy:
@@ -22,12 +22,14 @@ jobs:
2222
ssh: ssh
2323
- python: "3.6"
2424
tornado: "5.1.1"
25-
- python: "3.6"
2625
- python: "3.7"
2726
controller_ip: "*"
27+
- python: "3.8"
28+
runs_on: windows-2019
2829
- python: "3.8"
2930
mpi: mpi
3031
- python: "3.9"
32+
runs_on: macos-10.15
3133

3234
steps:
3335
- uses: actions/checkout@v2
@@ -74,9 +76,11 @@ jobs:
7476
pip install --upgrade pip
7577
pip install --pre --upgrade .[test] distributed joblib codecov
7678
pip install --only-binary :all: matplotlib || echo "no matplotlib"
77-
if [ "${{ matrix.tornado }}" != "" ]; then
78-
pip install tornado==${{ matrix.tornado }}
79-
fi
79+
80+
- name: Install pinned tornado
81+
if: matrix.tornado
82+
run: |
83+
pip install tornado==${{ matrix.tornado }}
8084
8185
- name: Show environment
8286
run: pip freeze

0 commit comments

Comments
 (0)