Skip to content

Commit

Permalink
Move coverage report to different directory
Browse files Browse the repository at this point in the history
  • Loading branch information
vldtecno committed Oct 27, 2023
1 parent 5e52fd7 commit d5a94d2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}/UnitTestCoverage
url: ${{ steps.deployment.outputs.page_url }}UnitTestCoverage
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)

runs-on: ubuntu-latest
Expand Down Expand Up @@ -75,10 +75,14 @@ jobs:
working-directory: ${{github.workspace}}/build/
run: genhtml coverage.info -o CoverageReport

- name: Move Directory
working-directory: ${{github.workspace}}/build/
run: mkdir UnitTestCoverage; mv CoverageReport UnitTestCoverage

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ${{github.workspace}}/build/CoverageReport
path: ${{github.workspace}}/build/UnitTestCoverage

- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit d5a94d2

Please sign in to comment.