Skip to content

Commit

Permalink
add replace --verbose with --output-on-failure and run ctest in b…
Browse files Browse the repository at this point in the history
…uild/tests workdir
  • Loading branch information
tbhaxor committed Aug 20, 2023
1 parent 88c3ae3 commit 50f3fa5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/unit_testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ jobs:
cmake --build build
name: Configure and build binaries
- run: |
ctest --test-dir build/tests/ --verbose
ctest --output-on-failure
name: Run tests
working-directory: build/tests
unit_test_llvm_linux:
name: Linux (LLVM=v${{ matrix.version }}, Double=${{ matrix.double-precision }})
Expand All @@ -66,8 +67,9 @@ jobs:
cmake --build build
name: Configure and build binaries
- run: |
ctest --test-dir build/tests/ --verbose
ctest --output-on-failure
name: Run tests
working-directory: build/tests
unit_test_gcc_macos:
name: MacOS (GCC=v${{ matrix.version }}, Double=${{ matrix.double-precision }})
Expand All @@ -91,8 +93,9 @@ jobs:
cmake --build build
name: Configure and build binaries
- run: |
ctest --test-dir build/tests/ --verbose
ctest --output-on-failure
name: Run tests
working-directory: build/tests
unit_test_llvm_macos:
name: MacOS (LLVM=v${{ matrix.version }}, Double=${{ matrix.double-precision }})
Expand All @@ -116,5 +119,6 @@ jobs:
cmake --build build
name: Configure and build binaries
- run: |
ctest --test-dir build/tests/ --verbose
ctest --output-on-failure
name: Run tests
working-directory: build/tests

0 comments on commit 50f3fa5

Please sign in to comment.