modjam/.forgejo/workflows/test.yml

23 lines
382 B
YAML
Raw Permalink Normal View History

name: tests
on:
push:
branches: [main]
pull_request:
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install package + test deps
run: pip install --no-cache-dir -e '.[test]'
- name: Run pytest
run: pytest -v