Skip to content

Merge pull request #6 from claudious96/update-project-description #18

Merge pull request #6 from claudious96/update-project-description

Merge pull request #6 from claudious96/update-project-description #18

Workflow file for this run

name: Tests
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
test:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup PDM
uses: pdm-project/[email protected]
with:
python-version: ${{ matrix.python-version }}
# The target architecture (x86, x64) of the Python interpreter.
# architecture: # optional
version: 2.19.1
cache: true
cache-dependency-path: ./py${{ matrix.python-version }}.lock
- name: Install dependencies
run: pdm install --frozen-lockfile -L ./py${{ matrix.python-version }}.lock
- name: Test with pytest
run: pdm run pytest --timeout=90
- name: Upload code coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}