Skip to content

Commit 46c6c71

Browse files
authored
Apply Testcontainers Cloud (#224)
1 parent 31be291 commit 46c6c71

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/gradle-build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ jobs:
7070
path: ~/.sonar/cache
7171
key: ${{ runner.os }}-sonar
7272
restore-keys: ${{ runner.os }}-sonar
73+
- name: Setup Testcontainers Cloud Client
74+
uses: atomicjar/testcontainers-cloud-setup-action@v1
75+
with:
76+
token: ${{ secrets.TC_CLOUD_TOKEN }}
7377
- name: Run CI build
7478
run: ./gradlew build
7579
- name: Publish test coverage
@@ -78,3 +82,7 @@ jobs:
7882
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7983
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
8084
run: ./gradlew jacocoTestReport sonar
85+
- name: Terminate Testcontainers Cloud Client active sessions
86+
uses: atomicjar/testcontainers-cloud-setup-action@v1
87+
with:
88+
action: terminate

0 commit comments

Comments
 (0)