Skip to content

Commit

Permalink
Remove gtest_output flag
Browse files Browse the repository at this point in the history
  • Loading branch information
brsm3129 committed Jul 22, 2024
1 parent 03077a6 commit f39a845
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,7 @@ jobs:
if: ${{ always() }}
- name: "Run C/C++ Tests"
working-directory: ./dist3
run: ctest --gtest_output "json:../ctest/ctest-results-linux-${{ matrix.python-version }}.json"
- 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
run: ctest
if: ${{ always() }}

build-windows:
Expand Down Expand Up @@ -172,4 +167,5 @@ 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
if(($LastExitCode -ne 0) -and ($LastExitCode -ne 5)) {exit 1}

0 comments on commit f39a845

Please sign in to comment.