Skip to content

add github action for running tests on commit #1

add github action for running tests on commit

add github action for running tests on commit #1

Workflow file for this run

name: Tests
on:
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Run unit and integration tests
run: pytest -m "unit or integration" --tb=short