-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Github Actions job summaries #173
Comments
We can use |
Hey - I've done exactly what you're looking for with this code: This assumes rspec running with - name: Upload json rspec reports
uses: actions/upload-artifact@v3
if: always()
continue-on-error: true
with:
name: rspec-json-reports
retention-days: 10
path: |
/your/app/spec/reports/*.json when rspec is run like:
The code is quick and dirty and could definitely be improved, but it works. Here's what it looks like: Note if you're missing rspec data and are running in queue mode, you might need to follow these instructions: |
@singhprd Thank you for sharing this example! 🚀 |
IdeasHere are ideas what to do before we close this issue. Info for Knapsack team:
story |
Github Actions has a new features that allows to add arbitrary markdown code for job summaries. It would be great if Knapsack Pro would support that out of the box when running on Github.
https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/
This is a library for dotnet that has already support for summaries: https://github.com/Tyrrrz/GitHubActionsTestLogger
The text was updated successfully, but these errors were encountered: