Skip to content

Commit

Permalink
Change gtest actions logging to XML
Browse files Browse the repository at this point in the history
  • Loading branch information
brsm3129 committed Jul 22, 2024
1 parent 6f95db3 commit aa25175
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ jobs:
if: ${{ always() }}
- name: "Run C/C++ Tests"
working-directory: ./dist3
run: ctest --gtest_output "json:../ctest/ctest-results-linux-${{ matrix.python-version }}.json"
run: ctest --gtest_output "xml:../ctest/ctest-results-linux-${{ matrix.python-version }}.xml"
- name: "Upload Google Test CTest results"
uses: actions/upload-artifact@v4
with:
name: ctest-results-${{ matrix.python-version }}
path: ctest/ctest-results-${{ matrix.python-version }}.json
path: ctest/ctest-results-${{ matrix.python-version }}.xml
if: ${{ always() }}

build-windows:
Expand Down Expand Up @@ -174,4 +174,4 @@ jobs:
shell: pwsh
run: |
cd dist3
ctest --gtest_output "json:../ctest/ctest-results-windows-${{ matrix.python-version }}.json"; if(($LastExitCode -ne 0) -and ($LastExitCode -ne 5)) {exit 1}
ctest --gtest_output "xml:../ctest/ctest-results-windows-${{ matrix.python-version }}.xml"; if(($LastExitCode -ne 0) -and ($LastExitCode -ne 5)) {exit 1}

0 comments on commit aa25175

Please sign in to comment.