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

ci: split tests and coverage #286

Merged
merged 7 commits into from
Feb 5, 2025
Merged

ci: split tests and coverage #286

merged 7 commits into from
Feb 5, 2025

Conversation

MegaRedHand
Copy link
Contributor

@MegaRedHand MegaRedHand commented Feb 5, 2025

Fixes #

What Changed?

Fireblocks tests don't work for external contributors. This PR splits the test run in the CI into two: "Run Tests" and "Generate Coverage". The idea is to have the first one run without fireblocks, while the second one runs with it and is not required for merge.

Reviewer Checklist

  • New features are tested and documented
  • PR updates the changelog with a description of changes
  • PR has one of the changelog-X labels (if applies)
  • Code deprecates any old functionality before removing it

@MegaRedHand MegaRedHand self-assigned this Feb 5, 2025
@MegaRedHand MegaRedHand added the changelog-ignore PR is allowed to skip the changelog check label Feb 5, 2025
@MegaRedHand MegaRedHand changed the title ci: skip fireblocks tests ci: split tests and coverage Feb 5, 2025
@MegaRedHand MegaRedHand marked this pull request as ready for review February 5, 2025 15:27
@MegaRedHand
Copy link
Contributor Author

@supernovahs would it be possible to allow PRs to be merged without the "Generate Coverage" check passing? That way external contributors can skip it (since it uses secrets they don't have access to).

@MegaRedHand MegaRedHand force-pushed the skip-fireblocks-tests branch from 696cb59 to cc167d4 Compare February 5, 2025 15:36
@MegaRedHand MegaRedHand changed the base branch from dev to main February 5, 2025 15:36
@supernovahs
Copy link
Collaborator

supernovahs commented Feb 5, 2025

@supernovahs would it be possible to allow PRs to be merged without the "Generate Coverage" check passing? That way external contributors can skip it (since it uses secrets they don't have access to).

checking if there's a setting like this in github

@MegaRedHand
Copy link
Contributor Author

I think leaving that job out of the "Required" list of jobs is enough.

Copy link
Collaborator

@supernovahs supernovahs left a comment

Choose a reason for hiding this comment

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

I'll disable it once this gets merged in main

@MegaRedHand MegaRedHand merged commit 761aaaf into main Feb 5, 2025
9 checks passed
@MegaRedHand MegaRedHand deleted the skip-fireblocks-tests branch February 5, 2025 17:03
MegaRedHand added a commit that referenced this pull request Feb 5, 2025
Fixes #

### What Changed?

Fireblocks tests don't work for external contributors. This PR splits
the test run in the CI into two: "Run Tests" and "Generate Coverage".
The idea is to have the first one run without fireblocks, while the
second one runs with it and is not required for merge.

### Reviewer Checklist

- [ ] New features are tested and documented
- [ ] PR updates the changelog with a description of changes
- [ ] PR has one of the `changelog-X` labels (if applies)
- [ ] Code deprecates any old functionality before removing it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-ignore PR is allowed to skip the changelog check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants