From 6c32503ad9a04497287e227271fccecf29305b9b Mon Sep 17 00:00:00 2001 From: Matteo Bettini <55539777+matteobettini@users.noreply.github.com> Date: Mon, 10 Jun 2024 22:07:45 +0100 Subject: [PATCH] [Tests] Unit tests on more OSs (#90) * amend * empty * amend * amend * amend * amend * amend * amend * change examples * amend * copyright * amend * amend * amend * amend * amend * amend * amend * amend * amend * amend * remove mac --- .github/workflows/unit_tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index eb45153b..07664d82 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -16,12 +16,12 @@ permissions: jobs: tests: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10","3.11"] - + python-version: ["3.9", "3.10","3.11"] + os: [ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} @@ -36,7 +36,7 @@ jobs: run: | pytest test/ --doctest-modules --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html - - if: matrix.python-version == '3.10' + - if: matrix.python-version == '3.11' && matrix.os == 'ubuntu-latest' name: Upload coverage to Codecov uses: codecov/codecov-action@v3 with: