Skip to content

Commit 5721231

Browse files
committed
Remove coverage pinning
1 parent 2a09612 commit 5721231

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ jobs:
2828
echo " pre-commit run --all-files --hook-stage=manual"
2929
3030
test:
31-
name: Run tests on ${{ matrix.os }}
32-
runs-on: ${{ matrix.os }}
31+
name: Run tests on ${{ matrix.os }} py${{ matrix.python-version }}
32+
runs-on: ${{ matrix.os }}-latest
3333
timeout-minutes: 10
3434

3535
strategy:
3636
matrix:
37-
os: [ubuntu-latest, windows-latest, macos-latest]
37+
os: [ubuntu, windows, macos]
3838
python-version: [ '3.10', '3.11', '3.12', '3.13', '3.14' ]
3939
defaults:
4040
run:
@@ -77,11 +77,11 @@ jobs:
7777
yarn build:test
7878
yarn test:cov
7979
- name: Run Python tests
80-
if: ${{ !((matrix.python-version == '3.14') && (matrix.os == 'ubuntu-latest')) }}
80+
if: ${{ !((matrix.python-version == '3.14') && (matrix.os == 'ubuntu')) }}
8181
run: |
8282
python -m pytest -v
8383
- name: Run Python code coverage
84-
if: ${{ (matrix.python-version == '3.14') && (matrix.os == 'ubuntu-latest') }}
84+
if: ${{ (matrix.python-version == '3.14') && (matrix.os == 'ubuntu') }}
8585
run: |
8686
coverage run -m pytest -v
8787
coverage report --show-missing

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test = [
3232
"httpx-ws >=0.5.2",
3333
"hypercorn >=0.16.0",
3434
"pycrdt-websocket >=0.16.0,<0.17.0",
35-
"coverage >=7.12.0,<8",
35+
"coverage",
3636
]
3737
docs = [
3838
"sphinx",

0 commit comments

Comments
 (0)