Skip to content

Commit 6dbec8d

Browse files
sawenzelclaude
andcommitted
Run the offline test harnesses in syntax-checks.yml
This adds a bash-harnesses job so test/tests/*.sh actually run in CI instead of only being lint-checked. - New job runs every script under test/tests/ and collects failures from all of them before exiting, instead of stopping at the first. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 87c3ccf commit 6dbec8d

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

‎.github/workflows/syntax-checks.yml‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,24 @@ jobs:
134134
- name: Run the FileIOGraph test suite
135135
run: python3 -m unittest discover -s UTILS/FileIOGraph/tests -t UTILS/FileIOGraph/tests
136136

137+
bash-harnesses:
138+
name: Test-harness unit tests
139+
runs-on: ubuntu-latest
140+
141+
steps:
142+
- name: Checkout code
143+
uses: actions/checkout@v4
144+
145+
- name: Run the offline test harnesses
146+
run: |
147+
error=0
148+
for t in test/tests/*.sh ; do
149+
echo "::group::$t"
150+
bash "$t" || error=1
151+
echo "::endgroup::"
152+
done
153+
exit "$error"
154+
137155
pylint:
138156
name: Pylint
139157
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)