From e545d3a9070ace3425261c4fb7837335ad31a1bf Mon Sep 17 00:00:00 2001 From: dornech Date: Sun, 15 Dec 2024 18:29:55 +0100 Subject: [PATCH] fix: correction build.yaml /2. --- .github/workflows/build.yml | 5 ++++- .github/workflows/tests.yml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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