更改ci命令
All checks were successful
Python application test / build (pull_request) Successful in 15s
All checks were successful
Python application test / build (pull_request) Successful in 15s
This commit is contained in:
parent
74d0587e37
commit
cb350b6288
8
.github/workflows/python-test.yml
vendored
8
.github/workflows/python-test.yml
vendored
@ -9,14 +9,10 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-latest"
|
||||
container: python:latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
run: pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
- name: Run tests
|
||||
run: |
|
||||
python -m unittest discover -s tests
|
||||
run: python -m unittest discover -s tests
|
||||
|
Loading…
x
Reference in New Issue
Block a user