Skip to content

Commit

Permalink
Mitigate long running job for truffleruby in CI by workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
supercaracal committed Sep 8, 2024
1 parent a675945 commit b64b858
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,20 @@ jobs:
- name: Booting up Redis
run: make start
- name: Test
run: bundle exec rake test:${{ matrix.suite }}
run: |
if timeout 90 bash -c 'bundle exec rake test:${{ matrix.suite }} | tee tmp/test.log'
then
echo 'FIXME: remove workaround from workflow'
else
case $? in
124)
grep '0 failures, 0 errors' tmp/test.log
;;
*)
exit 1
;;
esac
fi
- name: Shutting down Redis
run: make stop

Expand Down

0 comments on commit b64b858

Please sign in to comment.