diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..99c0129 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,30 @@ +name: tests + +on: + push: + pull_request: + +permissions: + contents: read + +jobs: + pytest: + runs-on: ubuntu-24.04 + strategy: + matrix: + python-version: + - '3.9' + - '3.10' + - '3.11' + - '3.12' + - '3.13' + + steps: + - uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - uses: astral-sh/setup-uv@v4 + - run: uv pip install --system . pytest + - run: pytest tests