-
Notifications
You must be signed in to change notification settings - Fork 241
Run test pipeline once #1072
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
Run test pipeline once #1072
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1072 +/- ##
==========================================
+ Coverage 86.79% 86.82% +0.02%
==========================================
Files 55 56 +1
Lines 5962 5964 +2
==========================================
+ Hits 5175 5178 +3
Misses 643 643
+ Partials 144 143 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
.github/workflows/test.yml
Outdated
# pull requests, only run this step for a single job in the matrix. For | ||
# all other workflow triggers (e.g., pushes to a release branch) run | ||
# this step for the whole matrix. | ||
RUN_RACE_TESTS: ${{ github.event_name != 'pull_request' || (matrix.go == '1.23' && matrix.os == 'ubuntu') }} |
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.
RUN_RACE_TESTS: ${{ github.event_name != 'pull_request' || (matrix.go == '1.23' && matrix.os == 'ubuntu') }} | |
RUN_RACE_TESTS: ${{ github.event_name != 'pull_request' || (matrix.go == '1.24' && matrix.os == 'ubuntu') }} |
.github/workflows/test.yml
Outdated
timeout-minutes: 15 | ||
strategy: | ||
matrix: | ||
go: ["1.24", "1.23", "1.22"] | ||
os: [ubuntu, windows, macos] | ||
fail-fast: false | ||
fail-fast: false |
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.
Missing new line
- name: Check go.mod Tidiness | ||
run: make mod-tidy |
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.
Why was this removed?
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.
The step was running only on go1.21 (so not at all). I suppose it was setup like this to save CI time?
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.
No, this is required to make sure that our lowest supported Go version actually works 😅
Closes #1070.
When the pipeline was running the tests with the
-race
check, also the normal tests were run. This PR refactors the pipeline to:-race
and-coverage
flags on all os matrixes (except for PRs).Also bumping the min supported go version to 1.22. It was supposed to be bumped with the previous CI update.