Skip to content

Commit e2acbc2

Browse files
committed
Add CI for python_ci
1 parent 075a504 commit e2acbc2

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/python_ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Python CI
2+
on: [pull_request]
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-18.04
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v2
10+
- name: Set up Python 3.8
11+
uses: actions/setup-python@v2
12+
with:
13+
python-version: '3.8'
14+
architecture: 'x64'
15+
- name: Install Library
16+
run: |
17+
cd python_ci
18+
python3 -m pip install --upgrade pip
19+
pip install -r requirements-dev.txt
20+
pip install -r requirements.txt
21+
- name: Run flake8
22+
run: |
23+
make flake8
24+
- name: Run mypy
25+
run: |
26+
make mypy
27+
- name: Run unittest
28+
run: |
29+
make test

0 commit comments

Comments
 (0)