From 53d7d558e950a272ecf400cb2b9fd4e9e91d5048 Mon Sep 17 00:00:00 2001 From: getzze Date: Tue, 17 Sep 2024 00:38:08 +0100 Subject: [PATCH] fix running coverage --- .github/workflows/check.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index f33a1d8e..f34c9b68 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -101,8 +101,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - # Created by the build-and-inspect-python-package action above. - python-version: ${{ fromJson(needs.build-package.outputs.supported-python-versions) }} + python-version: [py38, py39, py310, py311, py312] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -117,10 +116,7 @@ jobs: - uses: hynek/setup-cached-uv@v2 - - run: >- - uvx --with=tox-uv - tox run - -e ${{ matrix.python-version }}-coverage + - run: uvx --with=tox-uv tox run -e ${{ matrix.python-version }}-coverage env: COVERAGE_FILE: ".coverage.${{ matrix.os }}.${{ matrix.python-version }}" # Alternatively you can run coverage with the --parallel flag or add