Skip to content

Commit 1fd07ce

Browse files
authored
Fix test check failing on pushing to master (#20)
- Depend on Docker to run tests instead of Testcontainer Cloud.
1 parent 336a020 commit 1fd07ce

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,25 @@ jobs:
5050
distribution: 'temurin'
5151
cache: maven
5252

53-
- name: Setup Testcontainers Cloud Client
54-
uses: atomicjar/testcontainers-cloud-setup-action@v1
55-
with:
56-
token: ${{ secrets.TC_CLOUD_TOKEN }}
53+
# - name: Setup Testcontainers Cloud Client
54+
# uses: atomicjar/testcontainers-cloud-setup-action@v1
55+
# with:
56+
# token: ${{ secrets.TC_CLOUD_TOKEN }}
57+
58+
# Check Docker Service
59+
- name: Check Docker version
60+
run: docker --version
61+
62+
- name: Docker info
63+
run: docker info
64+
65+
# Testcontainers
66+
- name: Set up Testcontainers environment
67+
run: |
68+
sudo sysctl -w net.ipv4.ip_forward=1
69+
sudo mkdir -p /etc/docker
70+
echo '{ "features": { "buildkit": false } }' | sudo tee /etc/docker/daemon.json
71+
sudo service docker restart
5772
5873
# Test
5974
- name: Test

0 commit comments

Comments
 (0)