Setup action doesn't work, try defining as a service I guess
Test / test (push) Failing after 31s
Details
Test / test (push) Failing after 31s
Details
This commit is contained in:
parent
d66c72ce96
commit
8feb9bd37a
|
|
@ -6,15 +6,22 @@ jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: mcr.microsoft.com/playwright:v1.48.1-jammy
|
container: mcr.microsoft.com/playwright:v1.48.1-jammy
|
||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres
|
||||||
|
env:
|
||||||
|
POSTGRES_PASSWORD: testpassword
|
||||||
|
POSTGRES_USER: postgres
|
||||||
|
POSTGRES_DB: test
|
||||||
|
options: >-
|
||||||
|
--health-cmd pg_isready
|
||||||
|
--health-interval 10s
|
||||||
|
--health-timeout 5s
|
||||||
|
--health-retries 5
|
||||||
|
ports:
|
||||||
|
- 5434:5432
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: ikalnytskyi/action-setup-postgres@v6
|
|
||||||
with:
|
|
||||||
username: postgres
|
|
||||||
password: testpassword
|
|
||||||
database: test
|
|
||||||
port: 5434
|
|
||||||
ssl: "on"
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
env: NODE_OPTIONS=--max-old-space-size=8192
|
env: NODE_OPTIONS=--max-old-space-size=8192
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue