Skip to content

Commit

Permalink
Merge pull request #8 from nijel/ci-tests
Browse files Browse the repository at this point in the history
Add tests to GitHub actions
  • Loading branch information
ovx authored Nov 29, 2024
2 parents 1d045df + 92c9b02 commit d4e3faa
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d4e3faa

Please sign in to comment.