Skip to content

Make the API configuration modular #996

Make the API configuration modular

Make the API configuration modular #996

name: PR code coverage measurement on codecov.io
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: true
name: Submit code coverage from Packit tests
defaults:
run:
working-directory: scripts
steps:
- uses: actions/checkout@v4
- name: Wait for Packit tests to finish and download e2e_coverage.txt and upstream_coverage.xml files.
run: ./download_packit_coverage.sh
env:
MAX_DURATION: 5400
SLEEP_DELAY: 120
- name: List downloaded files.
run: ls
- name: Upload e2e_coverage.txt report to Codecov with GitHub Action.
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: scripts/e2e_coverage.txt
flags: e2e-testsuite
- name: Upload upstream_coverage.xml report to Codecov with GitHub Action.
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: scripts/upstream_coverage.xml
flags: upstream-unit-tests