Skip to content

Commit e62cc88

Browse files
authored
[CI] Update code coverage action, attempt fix for Homebrew nonsense (#476)
1 parent a48eebc commit e62cc88

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- swift:5.8-jammy
2323
- swift:5.9-jammy
2424
- swift:5.10-jammy
25+
- swiftlang/swift:nightly-6.0-jammy
2526
- swiftlang/swift:nightly-main-jammy
2627
include:
2728
- swift-image: swift:5.10-jammy
@@ -45,7 +46,9 @@ jobs:
4546
swift test --filter='^(PostgresNIOTests|ConnectionPoolModuleTests)' --sanitize=thread ${CODE_COVERAGE}
4647
- name: Submit code coverage
4748
if: ${{ matrix.code-coverage }}
48-
uses: vapor/swift-codecov-action@v0.2
49+
uses: vapor/swift-codecov-action@v0.3
50+
with:
51+
codecov_token: ${{ secrets.CODECOV_TOKEN }}
4952

5053
linux-integration-and-dependencies:
5154
strategy:
@@ -165,7 +168,7 @@ jobs:
165168
# ** BEGIN ** Work around bug in both Homebrew and GHA
166169
(brew upgrade python@3.11 || true) && (brew link --force --overwrite python@3.11 || true)
167170
(brew upgrade python@3.12 || true) && (brew link --force --overwrite python@3.12 || true)
168-
brew upgrade
171+
(brew upgrade || true)
169172
# ** END ** Work around bug in both Homebrew and GHA
170173
brew install --overwrite "${POSTGRES_FORMULA}"
171174
brew link --overwrite --force "${POSTGRES_FORMULA}"

0 commit comments

Comments
 (0)