Skip to content

Commit

Permalink
Remove and add some ctest flags
Browse files Browse the repository at this point in the history
  • Loading branch information
franziska-wegner committed Jan 2, 2024
1 parent 57064c5 commit 346a27a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ jobs:
# Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected
# 3 threads. See https://github.com/google/googletest/blob/main/docs/advanced.md#death-tests-and-threads for more
# explanation and suggested solutions, especially if this is the last message you see before your test times out.
run: ctest --verbose -j1 --build-config ${{ matrix.build_type }} -T Test
run: ctest --verbose -j1 --build-config ${{ matrix.build_type }} --test-action Test

- name: Test Coverage Collection (Ubuntu GCC Debug only)
working-directory: ${{ steps.strings.outputs.build-output-dir }}
Expand All @@ -272,7 +272,7 @@ jobs:
# 3 threads. See https://github.com/google/googletest/blob/main/docs/advanced.md#death-tests-and-threads for more
# explanation and suggested solutions, especially if this is the last message you see before your test times out.
if: ${{ startsWith(matrix.os,'ubuntu-') && startsWith(matrix.c_compiler,'gcc') && matrix.build_type == 'Debug' }}
run: ctest --verbose -j1 --build-config ${{ matrix.build_type }} -T Coverage
run: ctest --rerun-failed --output-on-failure --verbose --build-config ${{ matrix.build_type }} --test-action Coverage

- name: Upload coverage reports to Codecov (Ubuntu GCC Debug only)
if: ${{ startsWith(matrix.os,'ubuntu-') && startsWith(matrix.c_compiler,'gcc') && matrix.build_type == 'Debug' }}
Expand Down
1 change: 1 addition & 0 deletions tests/Helper/TestHelper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,4 +282,5 @@ namespace std {
}
};
} // namespace std

#endif // EGOA__TESTS__HELPER__TEST_HELPER_HPP

0 comments on commit 346a27a

Please sign in to comment.