diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 57637c7..faed981 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,6 +13,9 @@ jobs: run: echo "$GITHUB_CONTEXT" build-test: + strategy: + matrix: + os: [ ubuntu-latest, macos-latest, windows-latest ] runs-on: ${{ matrix.os }} if: startsWith(github.ref, 'refs/tags/') steps: @@ -21,7 +24,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: [ '3.x' ] + python-version: '3.x' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 37a3ac3..8d50391 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,11 +23,11 @@ jobs: run: echo "$GITHUB_CONTEXT" tests: - runs-on: ${{ matrix.os }} strategy: matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ] + runs-on: ${{ matrix.os }} steps: - name: Check out the repository uses: actions/checkout@v4