Skip to content

Commit

Permalink
build: use coverage from e2e tests in sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
joshiste committed Dec 23, 2024
1 parent 33dbeb9 commit 673c84b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,23 @@ jobs:
echo 'exec in a new sell for the group change to take effect'
sudo -u $USER env "PATH=$PATH" "E2E_RUNTIMES=${{ matrix.e2e-runtime }}" make e2e-test
- name: Upload test coverage
uses: actions/upload-artifact@v4
with:
name: e2e-coverage-${{ matrix.e2e-runtime }}
path: |
e2e/e2e-coverage-*.out
if-no-files-found: error
retention-days: 3

extension-ci:
uses: steadybit/extension-kit/.github/workflows/reusable-extension-ci.yml@main
needs: [e2e-tests]
with:
go_version: '1.23'
build_linux_packages: true
VERSION_BUMPER_APPID: ${{ vars.GH_APP_STEADYBIT_APP_ID }}
coverage_artifacts_pattern: e2e-coverage-*
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
PAT_TOKEN_EXTENSION_DEPLOYER: ${{ secrets.PAT_TOKEN_EXTENSION_DEPLOYER }}
Expand Down

0 comments on commit 673c84b

Please sign in to comment.