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:
|
||||
runs-on: ubuntu-latest
|
||||
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:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ikalnytskyi/action-setup-postgres@v6
|
||||
with:
|
||||
username: postgres
|
||||
password: testpassword
|
||||
database: test
|
||||
port: 5434
|
||||
ssl: "on"
|
||||
- name: Run Tests
|
||||
env: NODE_OPTIONS=--max-old-space-size=8192
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in New Issue