Skip to content

Commit a39761f

Browse files
committed
remove postgres from gha
1 parent 13313f0 commit a39761f

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

.github/workflows/chaos-tests.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,7 @@ on:
1818
jobs:
1919
chaos-test:
2020
runs-on: ubuntu-latest
21-
services:
22-
# Postgres service container
23-
postgres:
24-
image: postgres:16
25-
env:
26-
# Specify the password for Postgres superuser.
27-
POSTGRES_PASSWORD: a!b@c$d()e*_,/:;=?@ff[]22
28-
# Set health checks to wait until postgres has started
29-
options: >-
30-
--health-cmd pg_isready
31-
--health-interval 10s
32-
--health-timeout 5s
33-
--health-retries 5
34-
ports:
35-
# Maps tcp port 5432 on service container to the host
36-
- 5432:5432
37-
21+
timeout-minutes: 60
3822
steps:
3923
- uses: actions/checkout@v5
4024
with:
@@ -63,7 +47,7 @@ jobs:
6347
run: go install gotest.tools/gotestsum@latest
6448

6549
- name: Run chaos tests
66-
run: go vet ./... && gotestsum --format github-action -- -v -count=1 -timeout=30m ./...
50+
run: go vet ./... && gotestsum --format github-action -- -v -race -count=1 -timeout=30m ./...
6751
working-directory: ./chaos_tests
6852
env:
6953
PGPASSWORD: a!b@c$d()e*_,/:;=?@ff[]22

0 commit comments

Comments
 (0)