Skip to content

Commit c73549d

Browse files
author
Mandy Chen
committed
Rerun unit test automatically
1 parent 28e713f commit c73549d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci-checks.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@ jobs:
2121
go-version: '1.23.4'
2222

2323
- name: Run unit test
24-
run: docker compose -f docker/github_actions/docker-compose.yml run unit-test bash -c "make unit_test && ./scripts/gen_coverage_metadata.sh .build/metadata.txt"
24+
uses: nick-fields/retry@v3
25+
with:
26+
max_attempts: 2
27+
timeout_minutes: 30
28+
command: |
29+
docker compose -f docker/github_actions/docker-compose.yml run unit-test bash -c "make unit_test && ./scripts/gen_coverage_metadata.sh .build/metadata.txt"
2530
2631
- name: Upload coverage artifacts
2732
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)