Skip to content

Commit d677b49

Browse files
committed
fix backend testing
1 parent 4a2e43b commit d677b49

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -123,24 +123,11 @@ jobs:
123123
- name: Run frontend tests
124124
run: docker-compose run nodejs bash -c "gulp dev && karma start --single-run && gulp staging"
125125

126+
126127
backend-test:
127128
name: Backend Tests
128129
runs-on: ubuntu-latest
129130
needs: build
130-
services:
131-
postgres:
132-
image: postgres:14
133-
env:
134-
POSTGRES_USER: postgres
135-
POSTGRES_PASSWORD: postgres
136-
POSTGRES_DB: evalai_test
137-
options: >-
138-
--health-cmd pg_isready
139-
--health-interval 10s
140-
--health-timeout 5s
141-
--health-retries 5
142-
ports:
143-
- 5432:5432
144131
steps:
145132
- uses: actions/checkout@v3
146133

0 commit comments

Comments
 (0)