diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index eddec27..a846bab 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -8,19 +8,18 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 + - name: Set up Python uses: actions/setup-python@v1 with: - python-version: 3.8 + python-version: 3.8.15 - name: Install dependencies run: | python -m pip install --upgrade pip pip install pytest - # 如果你的测试需要其他依赖,可以在这里添加pip install命令 - name: Run tests run: | python -m unittest discover -s tests