Skip to content

Commit

Permalink
Yak shaving actions with AI
Browse files Browse the repository at this point in the history
  • Loading branch information
hopsoft committed Oct 11, 2024
1 parent f8959ea commit c68c582
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,21 @@ jobs:
run: bundle install

- name: Run tests
run: bundle exec rake
run: |
output=$(bundle exec rake 2>&1)
echo "test_output<<EOF" >> $GITHUB_OUTPUT
echo "$output" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
continue-on-error: true

- name: Display test output
run: |
echo "${{ steps.run_tests.outputs.test_output }}"
if: always()

- name: Check test results
run: |
if [[ "${{ steps.run_tests.outcome }}" == "failure" ]]; then
echo "Tests failed"
exit 1
fi

0 comments on commit c68c582

Please sign in to comment.