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

Use separate job to create issues on test failure #782

Merged
merged 7 commits into from
May 8, 2024

Conversation

marcoesters
Copy link
Contributor

Description

Submitting issues on test failures in the test job can result in duplicate issues since the tests run in parallel. This introduces a race condition.

Instead, use a separate job that gets called when all tests have concluded.

Also, add a pre-commit hook to check GitHub workflows, which has been missing so far.

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Apr 23, 2024
@marcoesters marcoesters marked this pull request as ready for review April 23, 2024 20:28
@marcoesters marcoesters requested a review from a team as a code owner April 23, 2024 20:28
.github/workflows/main.yml Outdated Show resolved Hide resolved
@jaimergp
Copy link
Contributor

jaimergp commented May 8, 2024

LGTM. Let's fix the conflicts and address the branch == main issue and that's all.

@marcoesters marcoesters merged commit 9d0bfe2 into conda:main May 8, 2024
16 checks passed
@marcoesters marcoesters deleted the issue-creation-aggregate branch May 13, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants