-
Notifications
You must be signed in to change notification settings - Fork 31
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: Add mac test runner #2035
ci: Add mac test runner #2035
Conversation
d51f5e7
to
dd7fbc4
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
@@ Coverage Diff @@
## develop #2035 +/- ##
===========================================
+ Coverage 73.85% 73.86% +0.01%
===========================================
Files 248 248
Lines 24801 24801
===========================================
+ Hits 18315 18318 +3
+ Misses 5224 5222 -2
+ Partials 1262 1261 -1
Flags with carried forward coverage won't be shown. Click here to find out more. see 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thought: Perhaps an additional check on line 83, where coverage reports are uploaded within step.name: Upload coverage artifact
and line 75 within step.name: Run integration tests
so that we don't generate and don't upload code coverage reports for the same type of test twice (as a ubuntu variant will already have had been uploaded by other run), and skip it for macos and windows like we do for change detection? Then you would need to update the steps.name: Run change detector tests
condition (line 79) to allow macos test.
If you do the above, would suggest renaming the following step names:
- Rename "Run integration tests" -> "Run tests with coverage"
- Rename "Run change detector tests" -> "Run tests without coverage"
Other than that rest LGTM! now all we need to do is update these 19 required matrix jobs lol with 20 new ones haha:
Once ready to merge, LMK I can remove the previous required checks. |
@@ -27,19 +27,26 @@ jobs: | |||
run-tests: | |||
name: Run tests matrix job | |||
|
|||
runs-on: ubuntu-latest | |||
|
|||
strategy: | |||
matrix: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thought(out of scope): While you are at it, perhaps an explicit fail-fast: true
(which is the default behavior at the moment). To have it stay consistent incase GitHub decides to change the default in the future.
I do disagree with this, and I do want mac/windows to contribute to the code cov upload. They may test OS specific lines, and the cost to including them should be tiny. If the windows run turns out to be significantly slower and the primary bottleneck we can revisit, but even then I would be hesitant to support excluding it. |
dd7fbc4
to
64a3700
Compare
I can vibe with that. |
## Relevant issue(s) Resolves sourcenetwork#2034 ## Description Adds a mac (latest) test run to our test matrix. This only use the lightest of configurations we have, I think this will catch any/99% issues that we would otherwise miss. Windows has been broken out to a different ticket, as quite a lot of tests fail on windows and it will take more effort to get working: sourcenetwork#2033
Relevant issue(s)
Resolves #2034
Description
Adds a mac (latest) test run to our test matrix.
This only use the lightest of configurations we have, I think this will catch any/99% issues that we would otherwise miss.
Windows has been broken out to a different ticket, as quite a lot of tests fail on windows and it will take more effort to get working: #2033