This commit is contained in:
hyugogirubato
2025-07-26 17:17:28 +02:00
parent 58a5256dc1
commit fe43024656
+14 -14
View File
@@ -1,27 +1,27 @@
name: Tests name: Tests
on: [push, pull_request] on: [ push, pull_request ]
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install poetry pip install poetry
poetry install --no-interaction --no-root --with dev poetry install --no-interaction --no-root --with dev
- name: Run tests with pytest - name: Run tests with pytest
run: | run: |
poetry run pytest tests/ -v --cov=cbz --cov-report=xml --cov-report=term-missing poetry run pytest tests/ -v --cov=cbz --cov-report=xml --cov-report=term-missing