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

Fail CI if import scripts can't run #7070

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

symroe
Copy link
Member

@symroe symroe commented May 24, 2024

Small PR to solve a simple problem:

Previously, when this line was hit (imports didn't run because a full deploy was needed), CI would see an exit code of 0 from this command. CI uses exit codes to detect if the program has run properly, so it would look like the deploy / import worked when it didn't.

I think it's better to fail CI when the import scripts can't run, as this could cause confusion otherwise.

@symroe symroe requested a review from GeoWill May 24, 2024 10:40
@coveralls
Copy link

Coverage Status

coverage: 72.172%. remained the same
when pulling 0070452 on fail-ci-when-cant-run-imports
into e1e8fff on master.

@GeoWill GeoWill marked this pull request as draft May 30, 2024 10:59
@GeoWill
Copy link
Collaborator

GeoWill commented May 30, 2024

I think this might block CI from running to completion by failing early.

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.

3 participants