修改了action默认镜像
Some checks are pending
Python application test / build (pull_request) Waiting to run

This commit is contained in:
sangge-win 2024-04-21 21:25:37 +08:00
parent bf4a96cf34
commit dd891443a9

View File

@ -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