Skip to content

Commit 7d34a85

Browse files
committed
feat: ✨ ad unittest action
1 parent 311ede8 commit 7d34a85

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/test-unit.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: test-unit
2+
3+
on:
4+
pull_request:
5+
branches: [master, feature]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Set up Python
14+
uses: actions/setup-python@v4
15+
with:
16+
python-version: "3.10"
17+
architecture: "x64"
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install -r requirements-dev.txt
22+
- name: Test with unittest
23+
run: |
24+
unittest discover -s tests/unit -v

0 commit comments

Comments
 (0)