53e9a72128
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>
19 lines
312 B
YAML
19 lines
312 B
YAML
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
|