certbot/.github/workflows/pr-test-suite.yml

28 lines
1 KiB
YAML

# We run the test suite on commits to main so codecov gets coverage data
# about the main branch and can use it to track coverage changes.
name: certbot/pr-test-suite
on:
push:
branches:
- main
pull_request:
branches:
- main
- "*.x"
concurrency:
# https://stackoverflow.com/questions/74117321/if-condition-in-concurrency-in-gha
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
cancel-in-progress: true
jobs:
standard_tests_jobs:
name: standard_tests_jobs
uses: "./.github/workflows/standard_tests_jobs.yml"
permissions:
contents: read
with:
# We set this here to avoid coverage data being uploaded from things like our
# nightly pipeline. This is done because codecov (helpfully) keeps track of
# the number of coverage uploads for a commit and displays a warning when
# comparing two commits with an unequal number of uploads. Only uploading
# coverage here should keep the number of uploads it sees consistent.
uploadCoverage: true