Skip to content

Commit afb4328

Browse files
committed
Update flakiness workflow to dynamically locate HLS executable
1 parent 1097ce6 commit afb4328

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/flakiness.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,14 @@ jobs:
8181
TEST_PATTERNS: ${{ github.event.inputs.test_patterns }}
8282
PATTERN_FILE: 'scripts/flaky-test-patterns.txt'
8383
NO_BUILD_ONCE: '1'
84-
HLS_TEST_EXE: 'hls'
85-
HLS_WRAPPER_TEST_EXE: 'hls-wrapper'
84+
# HLS_TEST_EXE: 'hls'
85+
# HLS_WRAPPER_TEST_EXE: 'hls-wrapper'
8686
run: |
8787
# Run with a sensible default of 1000 iterations on PRs;
8888
max_iter="${{ github.event.inputs.max_iter }}"
8989
max_iter="${max_iter:-1000}"
90+
# copy hls to current dir so the script can find it
91+
HLS_TEST_EXE="$(cabal exec which hls)"
9092
bash scripts/flaky-test-loop.sh "${max_iter}"
9193
ec=$?
9294
# Interpret exit codes from flaky-test-loop.sh

0 commit comments

Comments
 (0)