@@ -14,9 +14,6 @@ concurrency:
14
14
group : ${{ github.workflow }}-${{ github.ref }}
15
15
cancel-in-progress : ${{ ! contains(github.ref, github.event.repository.default_branch) }}
16
16
17
- env :
18
- PYTEST_ADDOPTS : " -m 'not (edge or safari)'"
19
-
20
17
jobs :
21
18
linting :
22
19
runs-on : ubuntu-latest
@@ -37,28 +34,20 @@ jobs:
37
34
run : tox -e linting
38
35
39
36
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
42
39
strategy :
43
- fail-fast : true
40
+ fail-fast : false
44
41
matrix :
45
- os : [ubuntu-latest, windows-latest]
46
42
python-version : ["3.7", "3.8", "3.9", "3.10", "3.11"]
47
43
include :
48
44
- os : ubuntu-latest
49
45
python-version : pypy3.9
50
46
tox-env : py3.9
51
- - os : windows-latest
52
- python-version : pypy3.9
53
- tox-env : py3.9
54
47
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
62
51
63
52
steps :
64
53
- uses : actions/checkout@v3
73
62
python -m pip install --upgrade pip
74
63
pip install tox
75
64
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
93
67
94
68
- name : Cache tox environments
95
69
uses : actions/cache@v3
@@ -111,13 +85,6 @@ jobs:
111
85
fi
112
86
113
87
- 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)'"
121
88
run : tox -e "${{ env.tox }}"
122
89
123
90
- name : Archive report.html
0 commit comments