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

build(ci): Skip backend test job instead of each step #24198

Merged
merged 1 commit into from
Mar 3, 2021

Conversation

billyvg
Copy link
Member

@billyvg billyvg commented Mar 3, 2021

Changes backed test workflow to skip at the job level instead of each job step.

This simplifies the workflow and more accurately reflects the status of backend tests when backend files change. See https://github.com/getsentry/getsentry/issues/5196 for more details.

Changes backed test workflow to skip at the job level instead of each job step.

This simplifies the workflow and more accurately reflects the status of backend tests when backend files change. See getsentry/getsentry#5196 for more details.
@billyvg
Copy link
Member Author

billyvg commented Mar 3, 2021

You can see it properly skipping here where only frontend files were changed: #24199

@billyvg billyvg marked this pull request as ready for review March 3, 2021 00:36
@billyvg billyvg requested a review from a team as a code owner March 3, 2021 00:36
@billyvg billyvg merged commit d8c003f into master Mar 3, 2021
@billyvg billyvg deleted the build/ci/skip-jobs-instead-of-steps branch March 3, 2021 16:51
billyvg added a commit that referenced this pull request Mar 3, 2021
This reverts commit d8c003f.

This doesn't work because of a bug in GH runners: actions/runner#952

Because the backend test has 2 matrix instances, when the job is
skipped, it does not create the needed Checks to satisfy our branch
protection requirements
billyvg added a commit that referenced this pull request Mar 3, 2021
…" (#24214)

This reverts commit d8c003f.

This doesn't work because of a bug in GH runners: actions/runner#952

Because the backend test has 2 matrix instances, when the job is
skipped, it does not create the needed Checks to satisfy our branch
protection requirements
@armenzg
Copy link
Member

armenzg commented Mar 8, 2021

This feels good :)

@github-actions github-actions bot locked and limited conversation to collaborators Mar 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants