👷 添加对 Windows 系统的单元测试

This commit is contained in:
洛水居室 2022-09-15 10:22:40 +08:00
parent 0c62cc8b27
commit 2131600df8
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -17,13 +17,21 @@ on:
jobs: jobs:
pytest: pytest:
runs-on: ubuntu-latest name: pytest
runs-on: ${{matrix.os}}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
python-version: [ '3.10' ]
os: [ ubuntu-latest, windows-latest ]
experimental: [ false ]
fail-fast: False
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up Python 3.10 - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3 uses: actions/setup-python@v4
with: with:
python-version: "3.10" python-version: ${{ matrix.python-version }}
- name: Install poetry - name: Install poetry
run: | run: |
pip install --upgrade poetry pip install --upgrade poetry