From cf534f6398a5d1c56d7635428d31fbf7f6bbc327 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Thu, 28 May 2026 21:18:41 +0300 Subject: [PATCH] ci: add windows-latest and macos-latest to test matrix --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 54b1f63..db2c388 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,9 +9,11 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: + os: [ubuntu-latest, windows-latest, macos-latest] python-version: ["3.14", "3.13", "3.12", "3.11", "3.10", "3.9"] steps: - name: Checkout @@ -34,7 +36,7 @@ jobs: uv run coverage report uv run coverage xml - uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 #v5 - if: matrix.python-version == '3.13' + if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13' with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.xml