Skip to content

Commit 2610411

Browse files
committed
feat: run unit tests automatically
1 parent 1614748 commit 2610411

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.github/workflows/dev.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@ jobs:
1313
- name: Checkout
1414
uses: actions/checkout@v3
1515

16+
- name: Set up Python
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: "3.10"
20+
21+
- name: Install dependencies
22+
run: pip install -r requirements.txt
23+
24+
- name: Run tests
25+
run: python -m unittest discover
26+
1627
- name: Clear space to remove unused folders
1728
run: |
1829
rm -rf /usr/share/dotnet

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@ jobs:
1919
- name: Checkout
2020
uses: actions/checkout@v3
2121

22+
- name: Set up Python
23+
uses: actions/setup-python@v4
24+
with:
25+
python-version: "3.10"
26+
27+
- name: Install dependencies
28+
run: pip install -r requirements.txt
29+
30+
- name: Run tests
31+
run: python -m unittest discover
32+
2233
- name: Clear space to remove unused folders
2334
run: |
2435
rm -rf /usr/share/dotnet

0 commit comments

Comments
 (0)