Skip to content

Commit 43b346e

Browse files
authored
Merge pull request #5312 from TomJGooding/ci-run-tests-with-python-3-13
ci: run tests with Python 3.13
2 parents 7970cf5 + b0e9f2e commit 43b346e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
os: [ubuntu-latest, windows-latest, macos-latest]
23-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
23+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
2424
defaults:
2525
run:
2626
shell: bash
@@ -35,18 +35,18 @@ jobs:
3535
cache: "poetry"
3636
- name: Install dependencies
3737
run: poetry install --no-interaction --extras syntax
38-
if: ${{ matrix.python-version != '3.12' }}
39-
- name: Install dependencies for 3.12 # https://github.com/Textualize/textual/issues/3491#issuecomment-1854156476
38+
if: ${{ matrix.python-version != '3.13' }}
39+
- name: Install dependencies for 3.13
4040
run: poetry install --no-interaction
41-
if: ${{ matrix.python-version == '3.12' }}
41+
if: ${{ matrix.python-version == '3.13' }}
4242
- name: Test with pytest
4343
run: |
4444
poetry run pytest tests -v --cov=./src/textual --cov-report=xml:./coverage.xml --cov-report term-missing
45-
if: ${{ matrix.python-version != '3.12' }}
46-
- name: Test with pytest for 3.12 # https://github.com/Textualize/textual/issues/3491#issuecomment-1854156476
45+
if: ${{ matrix.python-version != '3.13' }}
46+
- name: Test with pytest for 3.13
4747
run: |
4848
poetry run pytest tests -v --cov=./src/textual --cov-report=xml:./coverage.xml --cov-report term-missing -m 'not syntax'
49-
if: ${{ matrix.python-version == '3.12' }}
49+
if: ${{ matrix.python-version == '3.13' }}
5050
- name: Upload snapshot report
5151
if: always()
5252
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)