From 696cf42d9fded265ce18910d34057b1a7faa8004 Mon Sep 17 00:00:00 2001 From: Lukas Holecek Date: Tue, 9 Jun 2026 09:05:59 +0000 Subject: [PATCH] Switch coverage upload from Coveralls to Codecov Relates: RHELWF-14237 Assisted-by: Claude Code (claude-opus-4-6) --- .github/workflows/gating.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/gating.yaml b/.github/workflows/gating.yaml index e987155..3ec45cb 100644 --- a/.github/workflows/gating.yaml +++ b/.github/workflows/gating.yaml @@ -4,6 +4,8 @@ name: Gating "on": pull_request: push: + branches: + - master workflow_dispatch: inputs: {} @@ -11,6 +13,9 @@ jobs: tests: name: Unit tests runs-on: ubuntu-latest + permissions: + id-token: write + contents: read steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 @@ -36,18 +41,13 @@ jobs: - name: Test with tox run: uvx --with tox-uv tox -e py3 - - name: Collect coverage with Coveralls - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COVERALLS_PARALLEL: true - run: | - uvx --with coveralls coveralls --service=github - - - name: Upload coverage to Coveralls - run: | - uvx --with coveralls coveralls --finish --service=github - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Upload coverage to Codecov + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7 + with: + fail_ci_if_error: true + verbose: true + use_oidc: true + flags: unit-tests hadolint: name: Hadolint