Skip to content

Commit

Permalink
Parallelize all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brsm3129 committed Jul 22, 2024
1 parent aa25175 commit d008940
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
extra_args: --files ${{ steps.file_changes.outputs.all_changed_files}}
build-linux:
name: Build Linux
needs: pre-commit
runs-on: ubuntu-20.04
strategy:
matrix:
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:
if: ${{ always() }}
- name: "Run C/C++ Tests"
working-directory: ./dist3
run: ctest --gtest_output "xml:../ctest/ctest-results-linux-${{ matrix.python-version }}.xml"
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:
Expand All @@ -93,7 +92,6 @@ jobs:

build-windows:
name: Build Windows
needs: pre-commit
runs-on: windows-2019
strategy:
matrix:
Expand Down Expand Up @@ -174,4 +172,4 @@ jobs:
shell: pwsh
run: |
cd dist3
ctest --gtest_output "xml:../ctest/ctest-results-windows-${{ matrix.python-version }}.xml"; 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 d008940

Please sign in to comment.