@@ -20,7 +20,7 @@ jobs:
|
||||
POSTGRES_USER: investmoz_test
|
||||
POSTGRES_PASSWORD: test-only-password
|
||||
ports:
|
||||
- 5432:5432
|
||||
- 55441:5432
|
||||
options: >-
|
||||
--health-cmd "pg_isready -U investmoz_test -d investmoz_test"
|
||||
--health-interval 10s --health-timeout 5s --health-retries 5
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
APP_ENV: testing
|
||||
DB_CONNECTION: pgsql
|
||||
DB_HOST: 127.0.0.1
|
||||
DB_PORT: 5432
|
||||
DB_PORT: 55441
|
||||
DB_DATABASE: investmoz_test
|
||||
DB_USERNAME: investmoz_test
|
||||
DB_PASSWORD: test-only-password
|
||||
@@ -71,5 +71,5 @@ jobs:
|
||||
INVESTMOZ_SCHEMA_TESTS: '1'
|
||||
run: php vendor/bin/phpunit --configuration=phpunit.investmoz.xml --do-not-cache-result
|
||||
|
||||
- name: Test frontend API contracts
|
||||
run: node --test tests/frontend/portal-api.test.mjs
|
||||
- name: Test all frontend contracts and calculators
|
||||
run: node --test tests/frontend/*.test.mjs
|
||||
|
||||
Reference in New Issue
Block a user