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: run PR coverage only on macos arm #4022

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

davidhewitt
Copy link
Member

Related to #4017

macOS arm runners seem to be faster than ubuntu runners at present. Also our CI bottleneck is ubuntu runners, not macos arm runners.

I propose we move the coverage run on PR to macOS. I feel a little dirty doing this as it feels more pure to measure on linux, but we don't actually enforce coverage (it's just a heuristic) so overall reducing the load on CI seems reasonable.

@davidhewitt davidhewitt added the CI-skip-changelog Skip checking changelog entry label Mar 30, 2024
- uses: actions/checkout@v4
if: steps.should-skip.outputs.skip != 'true'
Copy link
Member

Choose a reason for hiding this comment

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

I vaguely remember trying to remove these and failing for some reason. Do you remember why we had these in the first place?

Copy link
Member Author

Choose a reason for hiding this comment

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

We can't reference the matrix in the usual job.if clause, so maybe we just hadn't worked out that we could use fromJson() to manage the matrix conditionally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-skip-changelog Skip checking changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants