Skip to main content

.github/workflows/test.yml

1name: Run tests
3on:
4 push:
5 branches:
6 - main
8 pull_request:
9 branches:
10 - main
12jobs:
13 test:
14 runs-on: macos-latest
16 steps:
17 - uses: actions/checkout@v4
19 - name: Set up Python
20 uses: actions/setup-python@v5
21 with:
22 python-version: "3.12"
23 cache: 'pip'
24 cache-dependency-path: 'dev_requirements.txt'
26 - name: Install dependencies
27 run: pip install -r dev_requirements.txt
29 - name: Run tests
30 run: python3 -m pytest -n 5 tests