@@ -14,9 +14,6 @@ concurrency:
1414 group : ${{ github.workflow }}-${{ github.ref }}
1515 cancel-in-progress : ${{ ! contains(github.ref, github.event.repository.default_branch) }}
1616
17- env :
18- PYTEST_ADDOPTS : " -m 'not (edge or safari)'"
19-
2017jobs :
2118 linting :
2219 runs-on : ubuntu-latest
@@ -37,28 +34,20 @@ jobs:
3734 run : tox -e linting
3835
3936 test :
40- name : ${{ matrix.os }} - ${{ matrix.python-version }}
41- runs-on : ${{ matrix.os }}
37+ name : ubuntu-latest - ${{ matrix.tox-env || matrix.python-version }}
38+ runs-on : ubuntu-latest
4239 strategy :
43- fail-fast : true
40+ fail-fast : false
4441 matrix :
45- os : [ubuntu-latest, windows-latest]
4642 python-version : ["3.7", "3.8", "3.9", "3.10", "3.11"]
4743 include :
4844 - os : ubuntu-latest
4945 python-version : pypy3.9
5046 tox-env : py3.9
51- - os : windows-latest
52- python-version : pypy3.9
53- tox-env : py3.9
5447
55- # TODO(jim) Deactivate devel tests pending troubleshooting
56- # - os: ubuntu-latest
57- # python-version: 3.12-dev
58- # tox-env: devel
59- # - os: windows-latest
60- # python-version: 3.12-dev
61- # tox-env: devel
48+ - os : ubuntu-latest
49+ python-version : 3.11
50+ tox-env : devel
6251
6352 steps :
6453 - uses : actions/checkout@v3
7362 python -m pip install --upgrade pip
7463 pip install tox
7564
76- - name : Setup Firefox
77- if : matrix.os == 'ubuntu-latest'
78- uses : browser-actions/setup-firefox@latest
79- with :
80- firefox-version : latest
81-
82- - name : Setup Geckodriver
83- if : matrix.os == 'ubuntu-latest'
84- uses : browser-actions/setup-geckodriver@latest
85-
86- - name : Setup Chrome
87- uses : browser-actions/setup-chrome@latest
88- with :
89- chrome-version : stable
90-
91- - name : Setup Chromedriver
92- uses : nanasess/setup-chromedriver@master
65+ - name : Start browsers
66+ run : docker/start
9367
9468 - name : Cache tox environments
9569 uses : actions/cache@v3
@@ -111,13 +85,6 @@ jobs:
11185 fi
11286
11387 - name : Test
114- if : matrix.os == 'ubuntu-latest'
115- run : tox -e "${{ env.tox }}"
116-
117- - name : Test (skip firefox on windows)
118- if : matrix.os == 'windows-latest'
119- env :
120- PYTEST_ADDOPTS : " -m 'not (edge or safari or firefox)'"
12188 run : tox -e "${{ env.tox }}"
12289
12390 - name : Archive report.html
0 commit comments