Skip to content

Commit

Permalink
coverage_file
Browse files Browse the repository at this point in the history
  • Loading branch information
getzze committed Sep 20, 2024
1 parent 6918240 commit 7a329fa
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 7a329fa

Please sign in to comment.