|
10 | 10 | matrix: |
11 | 11 | swiftver: |
12 | 12 | - swift:5.2 |
| 13 | + - swift:5.3 |
| 14 | + - swift:5.4 |
13 | 15 | - swift:5.5 |
14 | 16 | - swiftlang/swift:nightly-main |
15 | 17 | swiftos: |
|
18 | 20 | runs-on: ubuntu-latest |
19 | 21 | env: |
20 | 22 | LOG_LEVEL: debug |
21 | | - MATRIX_CONFIG: ${{ toJSON(matrix) }} |
| 23 | + MATRIX_CONFIG: ${{ format('{0}-{1}', matrix.swiftver, matrix.swiftos) }} |
22 | 24 | steps: |
23 | 25 | - name: Check out package |
24 | 26 | uses: actions/checkout@v2 |
|
31 | 33 | exc_prefix="$(which xcrun || true)" && \ |
32 | 34 | ${exc_prefix} llvm-cov export -format lcov \ |
33 | 35 | -instr-profile="$(dirname "$(swift test --show-codecov-path)")/default.profdata" \ |
34 | | - --ignore-filename-regex='/\.build/' \ |
35 | | - --ignore-filename-regex='/Tests/' \ |
36 | | - "$(swift build --show-bin-path)/${pkgname}PackageTests.xctest${subpath}" \ |
37 | | - >"${pkgname}.lcov" |
| 36 | + --ignore-filename-regex='/\.build/' --ignore-filename-regex='/Tests/' \ |
| 37 | + "$(swift build --show-bin-path)/${pkgname}PackageTests.xctest${subpath}" >"${pkgname}.lcov" |
38 | 38 | echo "CODECOV_FILE=$(pwd)/${pkgname}.lcov" >> $GITHUB_ENV |
39 | 39 | - name: Send coverage report to codecov.io |
40 | 40 | uses: codecov/codecov-action@v2 |
|
60 | 60 | swiftver: |
61 | 61 | - swift:5.2 |
62 | 62 | - swift:5.5 |
63 | | - - swiftlang/swift:nightly-main |
64 | 63 | swiftos: |
65 | 64 | - focal |
66 | 65 | container: ${{ format('{0}-{1}', matrix.swiftver, matrix.swiftos) }} |
@@ -126,15 +125,10 @@ jobs: |
126 | 125 | fail-fast: false |
127 | 126 | matrix: |
128 | 127 | dbimage: |
129 | | - # Only test the lastest couple of versions on macOS, let Linux do the rest |
| 128 | + # Only test the lastest version on macOS, let Linux do the rest |
130 | 129 | - postgresql@14 |
131 | | - - postgresql@13 |
132 | | - # - postgresql@12 |
133 | | - # - postgresql@11 |
134 | 130 | dbauth: |
135 | 131 | # Only test one auth method on macOS, Linux tests will cover the others |
136 | | - # - trust |
137 | | - # - md5 |
138 | 132 | - scram-sha-256 |
139 | 133 | xcode: |
140 | 134 | - latest-stable |
|
0 commit comments