Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b271cca

Browse files
committed
ci: Explicitly ask for all browsers
1 parent 22990d1 commit b271cca

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,10 @@ jobs:
183183
~/.cache/matplotlib
184184
!~/.cache/matplotlib/tex.cache
185185
!~/.cache/matplotlib/test_cache
186-
key: 4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-${{ github.sha }}
186+
key: 5-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-${{ github.sha }}
187187
restore-keys: |
188-
4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-
189-
4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-
188+
5-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-
189+
5-${{ runner.os }}-py${{ matrix.python-version }}-mpl-
190190
191191
- name: Install Python dependencies
192192
run: |
@@ -312,6 +312,7 @@ jobs:
312312
- name: Run pytest
313313
run: |
314314
python -mpytest -raR -n auto \
315+
--browser chromium --browser firefox --browser webkit \
315316
--maxfail=50 --timeout=300 --durations=25 \
316317
--cov-report=xml --cov=lib --log-level=DEBUG --color=yes
317318

azure-pipelines.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,10 @@ stages:
155155
displayName: 'print pip'
156156

157157
- bash: |
158-
PYTHONFAULTHANDLER=1 python -m pytest --junitxml=junit/test-results.xml -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n 2 ||
158+
PYTHONFAULTHANDLER=1 python -m pytest \
159+
--junitxml=junit/test-results.xml -raR -n 2 \
160+
--browser chromium --browser firefox --browser webkit \
161+
--maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib ||
159162
[[ "$PYTHON_VERSION" = 'Pre' ]]
160163
displayName: 'pytest'
161164

0 commit comments

Comments
 (0)