-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f46df6d
commit e93d43b
Showing
2 changed files
with
20 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,26 +27,34 @@ jobs: | |
targets: norm_test parallel_test parallel_mpi_test learning_test | ||
override-flags: -DBUILD_JARS=OFF | ||
- name: Run Unit Tests for the Norm Module | ||
if: success() || failure() | ||
run: build/${{ matrix.build-setup.cmake-preset }}/bin/norm_test --gtest_output="xml:${{github.workspace}}/reports/report-norm.xml" | ||
run: > | ||
build/${{ matrix.build-setup.cmake-preset }}/bin/norm_test | ||
--gtest_output="xml:reports/report-norm.xml" | ||
- name: Run Unit Tests for the Parallel Module | ||
if: success() || failure() | ||
run: build/${{ matrix.build-setup.cmake-preset }}/bin/parallel_test --gtest_output="xml:${{github.workspace}}/reports/report-parallel.xml" | ||
run: > | ||
build/${{ matrix.build-setup.cmake-preset }}/bin/parallel_test | ||
--gtest_output="xml:reports/report-parallel.xml" | ||
- name: Run Unit Tests for the Parallel MPI Module in serial | ||
if: success() || failure() | ||
run: build/${{ matrix.build-setup.cmake-preset }}/bin/parallel_mpi_test --gtest_output="xml:${{github.workspace}}/reports/report-parallel-mpi-serial.xml" | ||
run: > | ||
build/${{ matrix.build-setup.cmake-preset }}/bin/parallel_mpi_test | ||
--gtest_output="xml:reports/report-parallel-mpi-serial.xml" | ||
- name: Run Unit Tests for the Parallel MPI Module in parallel | ||
if: success() || failure() | ||
run: mpiexec -n 4 build/${{ matrix.build-setup.cmake-preset }}/bin/parallel_mpi_test | ||
--gtest_output="xml:${{github.workspace}}/reports/report-parallel-mpi-parallel.xml" | ||
run: > | ||
mpiexec -n 4 build/${{ matrix.build-setup.cmake-preset }}/bin/parallel_mpi_test | ||
--gtest_output="xml:reports/report-parallel-mpi-parallel.xml" | ||
- name: Run Unit Tests for the Learning Module | ||
if: success() || failure() | ||
run: build/${{ matrix.build-setup.cmake-preset }}/bin/learning_test --gtest_output="xml:${{github.workspace}}/reports/report-learning.xml" | ||
- name: Create Unit Test Reports | ||
uses: dorny/test-reporter@v1 | ||
run: > | ||
build/${{ matrix.build-setup.cmake-preset }}/bin/learning_test | ||
--gtest_output="xml:reports/report-learning.xml" | ||
- name: Create Unit Test Reports Dashboards | ||
uses: dorny/[email protected] | ||
if: success() || failure() | ||
with: | ||
name: Unit Tests | ||
path: ${{github.workspace}}/reports/report-*.xml | ||
name: Unit Tests Reports (${{ matrix.build-setup.os }}) | ||
reporter: jest-junit | ||
path: reports/report-*.xml | ||
path-replace-backslashes: 'true' # Necessary for windows paths |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters