Skip to content

Commit e077e67

Browse files
committed
Add github artifact with test changes.
1 parent 5ecba94 commit e077e67

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ jobs:
295295
- name: Configure CMake
296296
shell: bash
297297
working-directory: ${{github.workspace}}/build
298-
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Coverage
298+
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Coverage -DREPLACE_FAILING_TEST_RESULTS=ON
299299

300300
- name: Build gwb
301301
working-directory: ${{github.workspace}}/build
@@ -313,7 +313,20 @@ jobs:
313313
shell: bash
314314
run: |
315315
ctest -VV -C Coverage;
316+
317+
- name: post-pocess tests
318+
if: always()
319+
working-directory: ${{github.workspace}}/build
320+
shell: bash
321+
run: |
316322
ls;
323+
git diff ../tests > changes-test-results.diff
324+
325+
- uses: actions/upload-artifact@v4
326+
if: always()
327+
with:
328+
name: changes-test-results.diff
329+
path: build/changes-test-results.diff
317330

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

0 commit comments

Comments
 (0)