Skip to content

Commit 250a5ff

Browse files
committed
ci: add GitHub Actions workflow for automated unit testing
1 parent a357f13 commit 250a5ff

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/python-test.yml

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

0 commit comments

Comments
 (0)