Skip to content

Commit 31ca07c

Browse files
committed
combine macos windows tests in matrix
1 parent f9c8396 commit 31ca07c

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- cron: "0 0 * * *"
77

88
jobs:
9-
test-on-linux:
9+
test-linux:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
@@ -27,9 +27,11 @@ jobs:
2727
env:
2828
HEADLESS: 1
2929
run: nox
30-
31-
test-on-macos:
32-
runs-on: macos-latest
30+
test-other-systems:
31+
runs-on: ${{ matrix.os }}
32+
strategy:
33+
matrix:
34+
os: [ macos-latest, windows-latest ]
3335
steps:
3436
- uses: actions/checkout@v2
3537
- uses: nanasess/setup-chromedriver@master
@@ -46,23 +48,3 @@ jobs:
4648
env:
4749
HEADLESS: 1
4850
run: nox
49-
50-
test-on-windows:
51-
runs-on: windows-latest
52-
steps:
53-
- uses: actions/checkout@v2
54-
- name: Setup ChromeDriver
55-
run: nuget install Selenium.WebDriver.ChromeDriver -Version 88.0.4324.9600
56-
- uses: actions/setup-node@v2-beta
57-
with:
58-
node-version: "12"
59-
- name: Use Python 3.9
60-
uses: actions/setup-python@v2
61-
with:
62-
python-version: 3.9
63-
- name: Install Python Dependencies
64-
run: pip install -r requirements/test-run.txt
65-
- name: Run Tests
66-
env:
67-
HEADLESS: 1
68-
run: nox

0 commit comments

Comments
 (0)