Files
spectra/.gitea/workflows/test.yml
Your Name ecd4880a28
All checks were successful
Run tests / test (push) Successful in 1m0s
add a workflow for tests
2026-06-25 21:32:45 -06:00

27 lines
473 B
YAML

name: Run tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run tests
run: python -m pytest tests/ -v