Skip to content

Commit 5384ea7

Browse files
committed
Refactor flakiness workflow to streamline HLS test execution command
1 parent afb4328 commit 5384ea7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/flakiness.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,13 @@ 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' # HLS_WRAPPER_TEST_EXE: 'hls-wrapper'
8685
run: |
8786
# Run with a sensible default of 1000 iterations on PRs;
8887
max_iter="${{ github.event.inputs.max_iter }}"
8988
max_iter="${max_iter:-1000}"
9089
# copy hls to current dir so the script can find it
91-
HLS_TEST_EXE="$(cabal exec which hls)"
92-
bash scripts/flaky-test-loop.sh "${max_iter}"
90+
HLS_TEST_EXE="$(cabal exec which hls)" bash scripts/flaky-test-loop.sh "${max_iter}"
9391
ec=$?
9492
# Interpret exit codes from flaky-test-loop.sh
9593
# 0 => no issues reproduced within MAX_ITER -> pass job

0 commit comments

Comments
 (0)