Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
container: swift:noble
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with: { 'fetch-depth': 0 }
- name: API breaking changes
run: |
Expand All @@ -46,9 +46,9 @@ jobs:
- postgres:15
- postgres:13
swift-image:
- swift:5.9-jammy
- swift:5.10-noble
- swift:5.10-jammy
- swift:6.0-noble
- swift:6.1-noble
include:
- postgres-image: postgres:17
postgres-auth: scram-sha-256
Expand All @@ -69,9 +69,9 @@ jobs:
POSTGRES_INITDB_ARGS: --auth-host=${{ matrix.postgres-auth }}
steps:
- name: Check out package
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Run local tests
run: swift test --sanitize=thread --enable-code-coverage
run: swift test --enable-code-coverage
- name: Upload coverage data
uses: vapor/[email protected]
with:
Expand All @@ -80,7 +80,7 @@ jobs:
linux-integration:
if: ${{ !(github.event.pull_request.draft || false) }}
runs-on: ubuntu-latest
container: swift:6.0-noble
container: swift:6.1-noble
services:
psql-a:
image: postgres:17
Expand All @@ -100,15 +100,15 @@ jobs:
POSTGRES_INITDB_ARGS: --auth-host=scram-sha-256
steps:
- name: Check out package
uses: actions/checkout@v4
uses: actions/checkout@v5
with: { path: 'postgres-kit' }
- name: Check out fluent-postgres-driver dependent
uses: actions/checkout@v4
uses: actions/checkout@v5
with: { repository: 'vapor/fluent-postgres-driver', path: 'fluent-postgres-driver' }
- name: Use local package
run: swift package --package-path fluent-postgres-driver edit postgres-kit --path postgres-kit
- name: Run fluent-postgres-kit tests
run: swift test --package-path fluent-postgres-driver --sanitize=thread
run: swift test --package-path fluent-postgres-driver

macos-unit:
if: ${{ !(github.event.pull_request.draft || false) }}
Expand Down Expand Up @@ -138,22 +138,22 @@ jobs:
pg_ctl start --wait
timeout-minutes: 15
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Run local tests
run: swift test --sanitize=thread --enable-code-coverage
run: swift test --enable-code-coverage
- name: Upload coverage data
uses: vapor/[email protected]
with:
codecov_token: ${{ secrets.CODECOV_TOKEN || '' }}

musl:
runs-on: ubuntu-latest
container: swift:6.0-noble
container: swift:6.1-noble
timeout-minutes: 30
steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Install SDK
run: swift sdk install https://download.swift.org/swift-6.0.3-release/static-sdk/swift-6.0.3-RELEASE/swift-6.0.3-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz --checksum 67f765e0030e661a7450f7e4877cfe008db4f57f177d5a08a6e26fd661cdd0bd
run: swift sdk install https://download.swift.org/swift-6.1.2-release/static-sdk/swift-6.1.2-RELEASE/swift-6.1.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz --checksum df0b40b9b582598e7e3d70c82ab503fd6fbfdff71fd17e7f1ab37115a0665b3b
- name: Build
run: swift build --swift-sdk x86_64-swift-linux-musl
Loading