Skip to content

SEP-1942: Name the delivery step that ended a failed diagnostics send… #840

SEP-1942: Name the delivery step that ended a failed diagnostics send…

SEP-1942: Name the delivery step that ended a failed diagnostics send… #840

Workflow file for this run

# Store main-branch coverage data so PR coverage comments can display
# evolution (old% -> new%). The py-cov-action commits coverage JSON to
# the python-coverage-comment-action-data branch on pushes to main, and
# subsequent PR runs read from it to compute the delta.
name: Coverage (main)
on:
push:
branches:
- main
permissions:
contents: read
env:
POETRY: poetry
jobs:
store-coverage:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout codebase
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Python
uses: ./.github/actions/setup-python-job
with:
python-version: "3.11.9"
cache: poetry
- name: Install test dependencies
run: poetry sync --no-root
- name: Run tests
run: make test
- name: Store coverage data on data branch
uses: py-cov-action/python-coverage-comment-action@63f52f4fbbffada6e8dee8ec432de7e01df9ba79 # v3.41
with:
GITHUB_TOKEN: ${{ github.token }}