Skip to content

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

Merged
merged 15 commits into from
Oct 3, 2022
Merged

Update test CI #306

merged 15 commits into from
Oct 3, 2022

Conversation

MahdiBM
Copy link
Contributor

@MahdiBM MahdiBM commented Oct 3, 2022

The test CI could use a bit of an update :)
NIO has recently dropped will 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.

@codecov-commenter
Copy link

codecov-commenter commented Oct 3, 2022

Codecov Report

Merging #306 (7e80970) into main (bfd17ae) will increase coverage by 0.03%.
The diff coverage is n/a.

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     
Flag Coverage Δ
unittests 43.94% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...rces/PostgresNIO/New/Extensions/Logging+PSQL.swift 22.72% <0.00%> (+3.11%) ⬆️

@fabianfett fabianfett requested a review from gwynne October 3, 2022 13:11
Copy link
Collaborator

@fabianfett fabianfett left a comment

Choose a reason for hiding this comment

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

LGTM. We need a code owner to merge and adjust the protected branch here though. Pinging @gwynne, @0xTim.

@@ -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]
Copy link
Member

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 🙂

Copy link
Contributor Author

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
Copy link
Member

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?

Copy link
Collaborator

@fabianfett fabianfett Oct 3, 2022

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.

@fabianfett fabianfett requested a review from gwynne October 3, 2022 13:25
@gwynne gwynne merged commit 17ba80f into vapor:main Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants