feature/match #5
18
python-test.yml
Normal file
18
python-test.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
name: Python application test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: "ubuntu-latest"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
|
- name: Run tests
|
||||||
|
run: python -m unittest discover -s tests
|
||||||
Reference in New Issue
Block a user