Skip to content

Commit 6de06bd

Browse files
committed
cleanup
1 parent 6525576 commit 6de06bd

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,18 @@ concurrency:
99
group: ci-${{ github.ref }}
1010
cancel-in-progress: true
1111

12+
defaults:
13+
run:
14+
shell: bash
15+
1216
jobs:
1317
build:
1418
runs-on: ${{ matrix.os }}-latest
1519
strategy:
1620
fail-fast: false
1721
matrix:
1822
os: [ubuntu, macos, windows]
19-
python-version: [ '3.7', '3.8', '3.9', '3.10', 'pypy-3.7' ]
23+
python-version: [ '3.7', '3.8', '3.10', 'pypy-3.7' ]
2024
exclude:
2125
- os: windows
2226
python-version: pypy-3.7
@@ -53,14 +57,14 @@ jobs:
5357
5458
- name: Run the tests
5559
timeout-minutes: 10
56-
if: ${{ !startsWith( matrix.python-version, 'pypy' ) }}
60+
if: ${{ !startsWith( matrix.python-version, 'pypy' ) && matrix.os != 'windows' }}
5761
run: |
5862
args="-vv -raXxs --cov ipykernel --cov-branch --cov-report term-missing:skip-covered --durations 10 --color=yes"
5963
pytest $args || pytest $args --lf
6064
61-
- name: Run the tests on pypy
65+
- name: Run the tests on pypy and windows
6266
timeout-minutes: 15
63-
if: ${{ startsWith( matrix.python-version, 'pypy' ) }}
67+
if: ${{ startsWith( matrix.python-version, 'pypy' ) || matrix.os == 'windows' }}
6468
run: |
6569
args="-vv -raXxs --durations 10 --color=yes"
6670
pytest $args || pytest $args --lf

0 commit comments

Comments
 (0)