diff options
Diffstat (limited to '.github/workflows/coverage.yml')
| -rw-r--r-- | .github/workflows/coverage.yml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 79c7a5f..3076588 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -5,21 +5,21 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 30 steps: - - uses: actions/checkout@v5 - - uses: actions/setup-python@v5 - with: - python-version: 3.11 - - name: install dependencies - run: | - python -m pip install --upgrade pip - python -mpip install --progress-bar=off -r ci/requirements.txt - virtualenv --version - pip --version - tox --version - pip list --format=freeze - - name: upload coverage reports - run: | - tox -e clean -v - tox -e py311 -v - tox -e report -v - tox -e codecov -v + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 + with: + fetch-depth: 0 + - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 + with: + python-version: '3.11' + - name: install graphviz system package + run: sudo apt-get update && sudo apt-get install -y graphviz + - name: install dependencies + run: uv sync --frozen + - name: run tests with coverage + run: uv run pytest --cov=edify --cov-report=xml + - name: upload coverage to codecov + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: ./coverage.xml + fail_ci_if_error: true
\ No newline at end of file |
