From fefeab580e751467cc191e1b96971393bc127902 Mon Sep 17 00:00:00 2001 From: Sina Atalay <79940989+sinaatalay@users.noreply.github.com> Date: Wed, 11 Oct 2023 17:00:03 +0200 Subject: [PATCH] update python-tests.yml --- .github/workflows/python-tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 0bbf306..6d9b843 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -11,12 +11,13 @@ on: jobs: build: - runs-on: ubuntu-latest strategy: fail-fast: false matrix: + os: [ubuntu-latest, macos-latest, windows-latest] python-version: ["3.10", "3.11", "3.12"] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} @@ -39,6 +40,7 @@ jobs: pip install pytest pytest-cov pytest --cov-report html --cov="." tests/ - name: Upload coverage data to smokeshow + if: ${{matrix.os == 'ubuntu-latest' && matrix.python-version == "3.12"}} # upload coverage once run: | pip install smokeshow smokeshow upload ./htmlcov