Skip to content

Commit bdf51de

Browse files
committed
Add CI to run UnitTests
1 parent 45197bc commit bdf51de

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/unit-tests.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Unit Tests
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v4
13+
14+
- name: Set up Python
15+
uses: actions/setup-python@v5
16+
with:
17+
python-version: "3.12"
18+
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install .[dev]
23+
24+
- name: Run tests
25+
run: pytest -v -W error

0 commit comments

Comments
 (0)