From 7a329fad61fa90b4fde78fba148a67380e0f7538 Mon Sep 17 00:00:00 2001 From: getzze Date: Sat, 21 Sep 2024 00:12:47 +0100 Subject: [PATCH] coverage_file --- .github/workflows/CI.yaml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 168cd2b9..129b6877 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -9,6 +9,11 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +env: + FORCE_COLOR: "1" + PIP_DISABLE_PIP_VERSION_CHECK: "1" + PIP_NO_PYTHON_VERSION_WARNING: "1" + jobs: check-manifest: runs-on: ubuntu-latest @@ -114,25 +119,16 @@ jobs: run: python -Im pip install tox-uv - name: Run tests - env: - COVERAGE_FILE: ".coverage.${{ matrix.os }}.${{ matrix.python-version }}" - # Alternatively you can run coverage with the --parallel flag or add - # `parallel = True` in the coverage config file. - # If using pytest-cov, you can also add the `--cov-append` flag - # directly or through PYTEST_ADD_OPTS. run: >- uvx --with=tox-uv tox run -e py${{ matrix.python-version }}-coverage - - name: List files - run: ls -al - - name: Store coverage file uses: actions/upload-artifact@v4 with: name: coverage-${{ matrix.os }}-${{ matrix.python-version }} - path: .coverage.${{ matrix.os }}.${{ matrix.python-version }} + path: .coverage* if-no-files-found: error coverage: