Skip to content

Commit 84f2419

Browse files
authored
Add unit testing workflow in GitHub Actions
1 parent acbc146 commit 84f2419

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/unit-test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Unit testing
2+
on: [push, workflow_dispatch]
3+
4+
jobs:
5+
unit-test:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
10+
- name: Install dependencies
11+
run: pip install -r requirements.txt
12+
13+
- name: Run the unit tests
14+
run: pytest
15+
16+
17+

0 commit comments

Comments
 (0)