Skip to content

Commit

Permalink
upload global main coverage report
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Heinrich <andreas.heinrich@rwth-aachen.de>
  • Loading branch information
andistorm committed Sep 25, 2024
1 parent 9de10d8 commit 84ca1cc
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -436,9 +436,9 @@ jobs:
- build
runs-on: ${{ inputs.runner }}
# LTODO uncomment
# if: ${{ inputs.do_not_run_coverage_badge_creation == 'false' && inputs.run_coverage == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
# if: ${{ inputs.run_coverage && inputs.do_not_run_coverage_badge_creation == 'false' && inputs.run_coverage == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
steps:
- name: Download coverage report
- name: Download xml coverage report
uses: actions/download-artifact@v4.1.2
with:
if-no-files-found: error
Expand Down Expand Up @@ -471,3 +471,20 @@ jobs:
artifact_name: coverage-badge
artifact_directory: ${{ github.workspace }}/coverage-badge/
deploy_global_artifact: true
- name: Download html coverage report
uses: actions/downlaod-artifact@v4.1.2
with:
if-no-files-found: error
name: coverage-report
path: coverage-report
- name: Deploy html coverage report
# LTODO update version
uses: everest/everest-ci/github-actions/deploy-ci-artifact@feature/add-reusable-ci-workflow
with:
target_repo: ${{ inputs.artifact_deploy_target_repo }}
github_token: ${{ secrets.coverage_deploy_token }}
artifact_name: coverage-report
artifact_directory: ${{ github.workspace }}/coverage-report/
deploy_global_artifact: true

# LTODO add link to badge

0 comments on commit 84ca1cc

Please sign in to comment.