Skip to content

Commit a7d8e4f

Browse files
committed
fix tests
1 parent 29c3325 commit a7d8e4f

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/checks.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,23 @@ jobs:
2323
- name: Run Docker compose to spin up services
2424
run: docker compose build && docker compose up -d db
2525

26+
- name: test
27+
run: docker ps -a
28+
29+
- name: check open ports
30+
run: netstat -tlnp
31+
32+
- run: sleep 10
33+
34+
- name: test
35+
run: docker ps -a
36+
37+
- name: check open ports
38+
run: netstat -tlnp
39+
40+
- name: get postgres logs
41+
run: docker logs $(docker ps -a | grep postgres | awk '{print $1}')
42+
2643
- name: Run unit tests and generate the coverage report
2744
run: RUN_DB_TESTS=1 make test-coverage
2845

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
image: postgres
2222
restart: always
2323
volumes:
24-
- 'psql_data:/var/lib/postgresql/data'
24+
- 'psql_data:/var/lib/postgresql'
2525
ports:
2626
- '5432:5432'
2727
environment:

0 commit comments

Comments
 (0)