修改了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: jobs:
build: build:
runs-on: "ubuntu-20.04" runs-on: "ubuntu-latest"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -19,7 +19,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip 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 - name: Run tests
run: | run: |
python -m unittest discover -s tests python -m unittest discover -s tests