Skip to content

Commit

Permalink
Merge pull request #837 from MFraters/add_artifacts_with_testresults_…
Browse files Browse the repository at this point in the history
…diff

Add artifacts with testresults diff
  • Loading branch information
MFraters authored Feb 19, 2025
2 parents 7892794 + 9f99c16 commit 9141201
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ jobs:
- name: Configure CMake
shell: bash
working-directory: ${{github.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Coverage
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Coverage -DREPLACE_FAILING_TEST_RESULTS=ON

- name: Build gwb
working-directory: ${{github.workspace}}/build
Expand All @@ -313,7 +313,20 @@ jobs:
shell: bash
run: |
ctest -VV -C Coverage;
- name: post-process tests
if: always()
working-directory: ${{github.workspace}}/build
shell: bash
run: |
ls;
git diff ../tests > changes-test-results.diff
- uses: actions/upload-artifact@v4
if: always()
with:
name: changes-test-results.diff
path: build/changes-test-results.diff

- name: Codecov
run: bash <(curl -s https://codecov.io/bash);
Expand Down

0 comments on commit 9141201

Please sign in to comment.