Skip to content

Commit 10f2575

Browse files
committed
chore
1 parent 38a1c18 commit 10f2575

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ jobs:
7777
working-directory: ./src/16-docker-outside-of-docker
7878
run: docker compose exec -T tests npm install
7979

80+
# Setup Testcontainers Cloud Client right before your Testcontainers tests
81+
- name: Setup Testcontainers Cloud Client
82+
uses: atomicjar/testcontainers-cloud-setup-action@v1
83+
with:
84+
token: ${{ secrets.TC_CLOUD_TOKEN }}
85+
8086
- name: Run tests - Container reuse without compose (inside container)
8187
working-directory: ./src/16-docker-outside-of-docker
8288
run: |
@@ -90,3 +96,9 @@ jobs:
9096
docker compose exec -T \
9197
-e TESTCONTAINERS_RYUK_DISABLED=true \
9298
tests npm run test:with-compose
99+
100+
#Optional
101+
- name: Terminate Testcontainers Cloud Client active sessions
102+
uses: atomicjar/testcontainers-cloud-setup-action@v1
103+
with:
104+
action: terminate

0 commit comments

Comments
 (0)