ci: add GitHub Actions workflow to run tests on PRs

Runs pytest against pull requests and pushes to main, so it can be
wired as a required status check before the repo accepts external
contributions.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Carlo1911
2026-08-04 17:56:41 -05:00
parent 08b63db324
commit 53e9a72128
+18
View File
@@ -0,0 +1,18 @@
name: Tests
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install -e ".[dev]"
- run: pytest