Skip to content

Commit 31823b4

Browse files
Update e2e-tests.yml
1 parent 0d6cc55 commit 31823b4

File tree

1 file changed

+18
-57
lines changed

1 file changed

+18
-57
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 18 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -27,78 +27,39 @@ jobs:
2727
macos-latest,
2828
macos-15-intel
2929
]
30+
python-version:
31+
[
32+
3.9.13,
33+
3.10.11,
34+
3.11.9,
35+
3.12.7,
36+
3.13.0,
37+
3.13
38+
]
3039
steps:
3140
- name: Checkout
3241
uses: actions/checkout@v5
3342

34-
- name: Run with setup-python 3.9.13
35-
uses: ./
36-
with:
37-
python-version: 3.9.13
38-
- name: Verify 3.9.13
39-
run: python __tests__/verify-python.py 3.9.13
40-
41-
- name: Run with setup-python 3.10.11
42-
uses: ./
43-
with:
44-
python-version: 3.10.11
45-
- name: Verify 3.10.11
46-
run: python __tests__/verify-python.py 3.10.11
47-
48-
- name: Run with setup-python 3.11.9
49-
uses: ./
50-
with:
51-
python-version: 3.11.9
52-
- name: Verify 3.11.9
53-
run: python __tests__/verify-python.py 3.11.9
54-
55-
- name: Run with setup-python 3.12.7
56-
uses: ./
57-
with:
58-
python-version: 3.12.7
59-
- name: Verify 3.12.7
60-
run: python __tests__/verify-python.py 3.12.7
61-
62-
- name: Run with setup-python 3.13.0
63-
uses: ./
64-
with:
65-
python-version: 3.13.0
66-
- name: Verify 3.13.0
67-
run: python __tests__/verify-python.py 3.13.0
43+
- name: Install pipx (Windows)
44+
if: runner.os == 'Windows'
45+
run: python -m pip install pipx
6846

69-
- name: Run with setup-python 3.13
70-
id: cp313
47+
- name: Run with setup-python ${{ matrix.python-version }}
7148
uses: ./
7249
with:
73-
python-version: '3.13'
74-
- name: Verify 3.13
75-
run: python __tests__/verify-python.py 3.13
50+
python-version: ${{ matrix.python-version }}
7651

77-
- name: Install pipx (Windows)
78-
# if: runner. os == 'Windows'
79-
run: python -m pip install pipx
52+
- name: Verify ${{ matrix.python-version }}
53+
run: python __tests__/verify-python.py ${{ matrix.python-version }}
8054

8155
- name: Run python-path sample 3.13
82-
run: pipx run --python '${{ steps.cp313.outputs.python-path }}' nox --version
56+
if: matrix.python-version == '3.13'
57+
run: pipx run --python $(which python) nox --version
8358
shell: bash
8459
env:
8560
PIPX_HOME: '${{ runner.temp }}/pipx'
8661
PIPX_BIN_DIR: '${{ runner.temp }}/pipx/bin'
8762

88-
- name: Run with setup-python ==3.13
89-
uses: ./
90-
with:
91-
python-version: '==3.13'
92-
- name: Verify ==3.13
93-
run: python __tests__/verify-python.py 3.13
94-
95-
- name: Run with setup-python <3.13
96-
uses: ./
97-
with:
98-
python-version: '<3.13'
99-
- name: Verify <3.13
100-
run: python __tests__/verify-python.py 3.12
101-
10263
- name: Test Raw Endpoint Access
10364
run: |
10465
curl -L https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | jq empty

0 commit comments

Comments
 (0)