Skip to content
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

Add a badge for parse rate #83

Merged
merged 1 commit into from
Dec 31, 2021
Merged

Add a badge for parse rate #83

merged 1 commit into from
Dec 31, 2021

Conversation

alex-pinkus
Copy link
Owner

This uses the Bring Your Own Badge github action, running a script to
count the number of swift files and generate a percent based on the
count of files in known_failures.

This script only runs once the top-repos job has completed,
successfully, on a code push, so all it needs to do is compare
known_failures against the number of Swift files in the repos.

This uses the Bring Your Own Badge github action, running a script to
count the number of swift files and generate a percent based on the
count of files in `known_failures`.

This script only runs once the top-repos job has completed,
successfully, on a code push, so all it needs to do is compare
`known_failures` against the number of Swift files in the repos.
@alex-pinkus
Copy link
Owner Author

I committed this with the if: ${{ github.event_name == 'push' }} clause commented out to validate that it ran successfully. Now that it's done that, gonna uncomment that and amend so that this doesn't run on future PRs.

@alex-pinkus alex-pinkus merged commit d3ccefd into main Dec 31, 2021
@alex-pinkus alex-pinkus deleted the parse-rate-badge branch December 31, 2021 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant