Skip to content

Commit 9e986a5

Browse files
authored
👷 Remove min-max testing of AnyIO, covered by uv resolution (#477)
1 parent e3ea3e0 commit 9e986a5

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,35 +27,26 @@ jobs:
2727
matrix:
2828
os: [ ubuntu-latest, windows-latest, macos-latest ]
2929
python-version: [ "3.14" ]
30-
anyio-version:
31-
- anyio-v3
32-
- anyio-v4
3330
uv-resolution:
3431
- highest
3532
include:
3633
- os: windows-latest
3734
python-version: "3.9"
38-
anyio-version: "anyio-v3"
3935
uv-resolution: lowest-direct
4036
- os: ubuntu-latest
4137
python-version: "3.9"
42-
anyio-version: "anyio-v4"
4338
uv-resolution: highest
4439
- os: macos-latest
4540
python-version: "3.10"
46-
anyio-version: "anyio-v4"
4741
uv-resolution: lowest-direct
4842
- os: windows-latest
4943
python-version: "3.11"
50-
anyio-version: "anyio-v3"
5144
uv-resolution: highest
5245
- os: ubuntu-latest
5346
python-version: "3.12"
54-
anyio-version: "anyio-v4"
5547
uv-resolution: highest
5648
- os: macos-latest
5749
python-version: "3.13"
58-
anyio-version: "anyio-v3"
5950
uv-resolution: lowest-direct
6051
fail-fast: false
6152
runs-on: ${{ matrix.os }}
@@ -83,14 +74,8 @@ jobs:
8374
limit-access-to-actor: true
8475
- name: Install Dependencies
8576
run: uv sync --no-dev --group tests
86-
- name: Install AnyIO v3
87-
if: matrix.anyio-version == 'anyio-v3'
88-
run: uv pip install --upgrade "anyio>=3.4.0,<4.0"
89-
- name: Install AnyIO v4
90-
if: matrix.anyio-version == 'anyio-v4'
91-
run: uv pip install --upgrade "anyio>=4.0.0,<5.0"
9277
- name: Lint
93-
if: ${{ matrix.anyio-version == 'anyio-v4' && matrix.uv-resolution == 'highest' }}
78+
if: ${{ matrix.uv-resolution == 'highest' }}
9479
run: uv run bash scripts/lint.sh
9580
- run: mkdir coverage
9681
- name: Test
@@ -101,7 +86,7 @@ jobs:
10186
- name: Store coverage files
10287
uses: actions/upload-artifact@v6
10388
with:
104-
name: coverage-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.anyio-version }}
89+
name: coverage-${{ runner.os }}-${{ matrix.python-version }}
10590
path: coverage
10691
include-hidden-files: true
10792

0 commit comments

Comments
 (0)