Skip to content

Commit 36dcffa

Browse files
Merge pull request #34 from tomorrowdevs-projects/add-python-test-ci
add python test ci
2 parents efedd83 + 756098d commit 36dcffa

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: python_unittest
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
python-version: [3.7]
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up Python ${{ matrix.python-version }}
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
- name: Install dependencies
21+
run: python -m pip install --upgrade pip
22+
- name: Test with unittest
23+
run: python -m unittest discover -s ./projects

0 commit comments

Comments
 (0)