From 2131600df83fed88f48c9e92afb61219a4a31e71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Thu, 15 Sep 2022 10:22:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20=E6=B7=BB=E5=8A=A0=E5=AF=B9=20`W?= =?UTF-8?q?indows`=20=E7=B3=BB=E7=BB=9F=E7=9A=84=E5=8D=95=E5=85=83?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 90e19aa..aa906e8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,13 +17,21 @@ on: jobs: 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: - uses: actions/checkout@v3 - - name: Set up Python 3.10 - uses: actions/setup-python@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: ${{ matrix.python-version }} - name: Install poetry run: | pip install --upgrade poetry