Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/cmake_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,8 @@ jobs:

- name: Run tests
working-directory: ${{ github.workspace }}/build
run: $env:PATH+=";${{ matrix.build_type }}"; tests/${{ matrix.build_type }}/behaviortree_cpp_test.exe
# Some tests assert tight wall-clock timing, which the shared runners can
# not always meet: --repeat until-pass absorbs that flakiness (as on macOS).
run: |
$env:PATH += ";${{ github.workspace }}\build\${{ matrix.build_type }}"
ctest -C ${{ matrix.build_type }} --output-on-failure --repeat until-pass:3
2 changes: 1 addition & 1 deletion pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ channels = ["conda-forge"]
platforms = ["linux-64", "win-64"]

[target.win-64.tasks]
test = "PATH=\"$PATH;build/Release\" build/tests/Release/behaviortree_cpp_test.exe"
test = "PATH=\"$PATH;$PIXI_PROJECT_ROOT/build/Release\" ctest --test-dir build -C Release --output-on-failure --repeat until-pass:3"

[target.linux-64.tasks]
test = "./build/tests/behaviortree_cpp_test"
Expand Down
Loading