Skip to content

Commit f4687a0

Browse files
committed
Add CI for python_test_example
1 parent bb56860 commit f4687a0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: test
2+
on: push
3+
4+
jobs:
5+
build:
6+
name: Test for python_test_example
7+
runs-on: ubuntu-18.04
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v2
11+
- name: Set up Python 3.7
12+
uses: actions/setup-python@v2
13+
with:
14+
python-version: '3.7'
15+
architecture: 'x64'
16+
- name: Install Library
17+
run: |
18+
python3 -m pip install --upgrade pip
19+
pip install requests
20+
- name: Run unittest
21+
run: |
22+
cd python_test_example
23+
python3 -m unittest discover --verbose --pattern "*_test.py"

0 commit comments

Comments
 (0)