Skip to content

Commit

Permalink
try testcontainers cloud for macos-14
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesward committed Jun 10, 2024
1 parent 21b26c2 commit 09631f1
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 19 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/clients.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,34 @@ clients = new Mapping<String, Run> {
steps = GitHubAction.Scala.sbtTestSteps(null, "./scala-zio", null)
}

local swiftSteps = new Listing<GitHubAction.Step> {
new {
uses = "actions/checkout@v4"
}
new {
uses = "atomicjar/testcontainers-cloud-setup-action@v1"
with {
["token"] = "${{ secrets.TC_CLOUD_TOKEN }}"
}
}
new {
run = "swift test -c release"
}
}

["swift-async"] = new {
`runs-on` = "macos-latest"
steps = GitHubAction.Swift.testSteps()
`runs-on` = "macos-14"
steps = swiftSteps
}

["swift-combine"] = new {
`runs-on` = "macos-latest"
steps = GitHubAction.Swift.testSteps()
`runs-on` = "macos-14"
steps = swiftSteps
}

["swift-dispatch"] = new {
`runs-on` = "macos-latest"
steps = GitHubAction.Swift.testSteps()
`runs-on` = "macos-14"
steps = swiftSteps
}

["typescript-effect"] = new {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/elm-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if: ${{ github.event.workflow_run == null || github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- uses: jorelali/setup-elm@v6
- uses: jorelali/setup-elm@v5
with:
elm-version: 0.19.1
- run: |-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-aiohttp-taskgroup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if: ${{ github.event.workflow_run == null || github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27
- uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
github_access_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-aiohttp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if: ${{ github.event.workflow_run == null || github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27
- uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
github_access_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-httpx-trio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if: ${{ github.event.workflow_run == null || github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27
- uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
github_access_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/swift-async.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@
- completed
jobs:
test:
runs-on: macos-latest
runs-on: macos-14
if: ${{ github.event.workflow_run == null || github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- name: Setup Docker on macOS
uses: douglascamata/setup-docker-macos-action@v1-alpha
- uses: atomicjar/testcontainers-cloud-setup-action@v1
with:
token: ${{ secrets.TC_CLOUD_TOKEN }}
- run: swift test -c release
defaults:
run:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/swift-combine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@
- completed
jobs:
test:
runs-on: macos-latest
runs-on: macos-14
if: ${{ github.event.workflow_run == null || github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- name: Setup Docker on macOS
uses: douglascamata/setup-docker-macos-action@v1-alpha
- uses: atomicjar/testcontainers-cloud-setup-action@v1
with:
token: ${{ secrets.TC_CLOUD_TOKEN }}
- run: swift test -c release
defaults:
run:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/swift-dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@
- completed
jobs:
test:
runs-on: macos-latest
runs-on: macos-14
if: ${{ github.event.workflow_run == null || github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- name: Setup Docker on macOS
uses: douglascamata/setup-docker-macos-action@v1-alpha
- uses: atomicjar/testcontainers-cloud-setup-action@v1
with:
token: ${{ secrets.TC_CLOUD_TOKEN }}
- run: swift test -c release
defaults:
run:
Expand Down

0 comments on commit 09631f1

Please sign in to comment.