Skip to content

Commit c0d20d9

Browse files
committed
use flaky-retry action
1 parent 188e1b5 commit c0d20d9

2 files changed

Lines changed: 13 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,7 @@ jobs:
4747
run: brew install expect
4848

4949
- name: Run all tests
50-
run: ./ci/all_tests.sh
50+
uses: roc-lang/roc/.github/actions/flaky-retry@main
51+
with:
52+
command: ./ci/all_tests.sh
53+
error_string_contains: "error: unable"

.github/workflows/release.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -177,14 +177,16 @@ jobs:
177177
echo "Modified examples:"
178178
git diff examples/ | head -50 || true
179179
180+
# Skip native build since we're using the bundle
181+
# The test script will detect all targets exist and use bundle testing
182+
# Run all tests against the bundled platform
180183
- name: Run tests with bundled platform
181-
run: |
182-
# Skip native build since we're using the bundle
183-
# The test script will detect all targets exist and use bundle testing
184-
export NO_BUILD=1
185-
186-
# Run all tests against the bundled platform
187-
bash ci/all_tests.sh
184+
uses: roc-lang/roc/.github/actions/flaky-retry@main
185+
with:
186+
command: bash ci/all_tests.sh
187+
error_string_contains: "error: unable"
188+
env:
189+
NO_BUILD: "1"
188190

189191
create-release:
190192
name: Create GitHub Release

0 commit comments

Comments
 (0)