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

feat(CI): Run tests on some known bigger repos #60

Merged
merged 2 commits into from
Dec 21, 2023

Conversation

nickvergessen
Copy link
Member

No description provided.

@nickvergessen nickvergessen self-assigned this Dec 21, 2023
@nickvergessen nickvergessen force-pushed the feat/noid/dont-break-on-repos branch 4 times, most recently from 1b8c17a to 8be21d2 Compare December 21, 2023 10:23
@nickvergessen nickvergessen force-pushed the feat/noid/dont-break-on-repos branch from 8be21d2 to bcee8f3 Compare December 21, 2023 10:25
Comment on lines +79 to +91
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: openapi-repositories

if: always()

name: openapi-repositories-summary

steps:
- name: Summary status
run: if ${{ needs.openapi-repositories.result != 'success' && needs.openapi-repositories.result != 'skipped' }}; then exit 1; fi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this? These jobs should not be set to required because sometimes there will be changes that cause a diff that was intended

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not failing on diff, only when generate-specs does a non-0 exit

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought the point was that it fails on diffs so that we can see when a PR changes the output

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It shows the diff and fails when the command fails, so the best of both worlds I would say 😅

@nickvergessen nickvergessen merged commit 25ea366 into main Dec 21, 2023
6 checks passed
@delete-merged-branch delete-merged-branch bot deleted the feat/noid/dont-break-on-repos branch December 21, 2023 16:01
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.

2 participants