Skip to content

Commit 17ba80f

Browse files
authored
Update test CI (#306)
* Update test.yml * exclude nightlies from codecov
1 parent bfd17ae commit 17ba80f

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
swift:
16-
- swift:5.4
17-
- swift:5.5
18-
- swift:5.6
19-
- swiftlang/swift:nightly-main
20-
os:
21-
- focal
22-
container: ${{ format('{0}-{1}', matrix.swift, matrix.os) }}
15+
container:
16+
- swift:5.5-bionic
17+
- swift:5.6-focal
18+
- swift:5.7-jammy
19+
- swiftlang/swift:nightly-main-jammy
20+
container: ${{ matrix.container }}
2321
runs-on: ubuntu-latest
2422
env:
2523
LOG_LEVEL: debug
@@ -29,6 +27,7 @@ jobs:
2927
- name: Run unit tests with code coverage and Thread Sanitizer
3028
run: swift test --enable-test-discovery --filter=^PostgresNIOTests --sanitize=thread --enable-code-coverage
3129
- name: Submit coverage report to Codecov.io
30+
if: "!contains(matrix.container, 'nightly')"
3231
uses: vapor/[email protected]
3332
with:
3433
cc_flags: 'unittests'
@@ -53,7 +52,7 @@ jobs:
5352
dbauth: md5
5453
- dbimage: postgres:11
5554
dbauth: trust
56-
container: swift:5.6-focal
55+
container: swift:5.7-jammy
5756
runs-on: ubuntu-latest
5857
env:
5958
LOG_LEVEL: debug
@@ -153,8 +152,7 @@ jobs:
153152
api-breakage:
154153
if: github.event_name == 'pull_request'
155154
runs-on: ubuntu-latest
156-
container:
157-
image: swift:5.6-focal
155+
container: swift:5.7-jammy
158156
steps:
159157
- name: Checkout
160158
uses: actions/checkout@v3

0 commit comments

Comments
 (0)