Skip to content

Commit 648192d

Browse files
committed
Test in Python 3.13 RC1.
1 parent 9c17490 commit 648192d

File tree

1 file changed

+27
-17
lines changed

1 file changed

+27
-17
lines changed

.github/workflows/test.yml

+27-17
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,34 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
os: [ubuntu-20.04, windows-2019, macos-11]
13-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-alpha.3", "pypy3.10", "pypy3.9"]
13+
python-version:
14+
[
15+
"3.8",
16+
"3.9",
17+
"3.10",
18+
"3.11",
19+
"3.12",
20+
"3.13.0-rc.1",
21+
"pypy3.10",
22+
"pypy3.9",
23+
]
1424
steps:
15-
- uses: actions/checkout@v4
16-
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v5
18-
with:
19-
python-version: ${{ matrix.python-version }}
20-
cache: pip
21-
- run: pip install pytest
22-
- run: pytest . --junitxml=junit/test_py${{ matrix.python-version }}_on_${{ matrix.os }}.xml
23-
- run: python -O once_test.py
24-
- run: python -OO once_test.py
25-
- name: Upload pytest test results
26-
uses: actions/upload-artifact@v4
27-
if: success() || failure()
28-
with:
29-
name: test-py${{ matrix.python-version}}-on-${{ matrix.os }}
30-
path: junit/test_py${{ matrix.python-version }}_on_${{ matrix.os }}.xml
25+
- uses: actions/checkout@v4
26+
- name: Set up Python ${{ matrix.python-version }}
27+
uses: actions/setup-python@v5
28+
with:
29+
python-version: ${{ matrix.python-version }}
30+
cache: pip
31+
- run: pip install pytest
32+
- run: pytest . --junitxml=junit/test_py${{ matrix.python-version }}_on_${{ matrix.os }}.xml
33+
- run: python -O once_test.py
34+
- run: python -OO once_test.py
35+
- name: Upload pytest test results
36+
uses: actions/upload-artifact@v4
37+
if: success() || failure()
38+
with:
39+
name: test-py${{ matrix.python-version}}-on-${{ matrix.os }}
40+
path: junit/test_py${{ matrix.python-version }}_on_${{ matrix.os }}.xml
3141

3242
lint:
3343
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)