mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
ci: drop tests for Python 3.8
This commit is contained in:
12
.github/workflows/pythonpackage.yml
vendored
12
.github/workflows/pythonpackage.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@@ -35,18 +35,18 @@ jobs:
|
||||
cache: "poetry"
|
||||
- name: Install dependencies
|
||||
run: poetry install --no-interaction --extras syntax
|
||||
if: ${{ matrix.python-version != '3.8' && matrix.python-version != '3.9' }}
|
||||
- name: Install dependencies for 3.8 and 3.9
|
||||
if: ${{ matrix.python-version != '3.9' }}
|
||||
- name: Install dependencies for 3.9
|
||||
run: poetry install --no-interaction
|
||||
if: ${{ matrix.python-version == '3.8' || matrix.python-version == '3.9' }}
|
||||
if: ${{ matrix.python-version == '3.9' }}
|
||||
- name: Test with pytest (Py310+ - with syntax highlighting)
|
||||
run: |
|
||||
poetry run pytest tests -v --cov=./src/textual --cov-report=xml:./coverage.xml --cov-report term-missing
|
||||
if: ${{ matrix.python-version != '3.8' && matrix.python-version != '3.9' }}
|
||||
if: ${{ matrix.python-version != '3.9' }}
|
||||
- name: Test with pytest (Py39 - without syntax highlighting)
|
||||
run: |
|
||||
poetry run pytest tests -v --cov=./src/textual --cov-report=xml:./coverage.xml --cov-report term-missing -m 'not syntax'
|
||||
if: ${{ matrix.python-version == '3.8' || matrix.python-version == '3.9' }}
|
||||
if: ${{ matrix.python-version == '3.9' }}
|
||||
- name: Upload snapshot report
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user