mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
👷 添加对 Windows
系统的单元测试
This commit is contained in:
parent
0c62cc8b27
commit
2131600df8
16
.github/workflows/test.yml
vendored
16
.github/workflows/test.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user