-
-
Notifications
You must be signed in to change notification settings - Fork 82
Update test CI #306
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
Update test CI #306
Conversation
…ostgres-nio into mahdibm-update-test-ci
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #306 +/- ##
==========================================
+ Coverage 43.90% 43.94% +0.03%
==========================================
Files 115 115
Lines 9677 9670 -7
==========================================
Hits 4249 4249
+ Misses 5428 5421 -7
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
.github/workflows/test.yml
Outdated
@@ -29,7 +27,8 @@ jobs: | |||
- name: Run unit tests with code coverage and Thread Sanitizer | |||
run: swift test --enable-test-discovery --filter=^PostgresNIOTests --sanitize=thread --enable-code-coverage | |||
- name: Submit coverage report to Codecov.io | |||
uses: vapor/[email protected] | |||
if: "!contains(matrix.container, 'nightly')" | |||
uses: vapor/[email protected] |
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 v0.2
tag points to the latest "0.2.x" version, not 0.2.0
; it has the effect of SPM's upToNextMinor()
, very much on purpose, please keep it that way 🙂
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.
Good to know!
- focal | ||
container: ${{ format('{0}-{1}', matrix.swift, matrix.os) }} | ||
container: | ||
- swift:5.5-bionic |
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.
What is the benefit to testing on bionic
?
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.
We have a nice mix of oses and swift versions... Swift 5.7 also still supports bionic.
The test CI could use a bit of an update :)
NIO
has recently droppedwill soon drop support for swift 5.4, so we should drop swift 5.4 too.This also updates integration-tests and api-breakage jobs to use swift 5.7.
EDIT 1:
Now this PR also removes the codecov checks from nightly builds because codecov doesn't seem to get along with nightlies.