修改了action默认镜像
Some checks are pending
Python application test / build (pull_request) Waiting to run
Some checks are pending
Python application test / build (pull_request) Waiting to run
This commit is contained in:
parent
bf4a96cf34
commit
dd891443a9
4
.github/workflows/python-test.yml
vendored
4
.github/workflows/python-test.yml
vendored
@ -8,7 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: "ubuntu-20.04"
|
||||
runs-on: "ubuntu-latest"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -19,7 +19,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pytest
|
||||
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
- name: Run tests
|
||||
run: |
|
||||
python -m unittest discover -s tests
|
||||
|
Loading…
x
Reference in New Issue
Block a user