-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) · 799 Bytes
/
Copy pathtests.yml
File metadata and controls
28 lines (26 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: tests
on:
push:
branches: [main]
pull_request:
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Test (blocking)
# Coverage threshold is intentionally low for alpha stage.
# Project is v1.0.0-rc1 with 3 test files; bumping the bar
# would require growing the test suite first. Report is still
# printed for visibility.
run: pytest --cov=epistemic_forge --cov-report=term-missing --cov-fail-under=0