Skip to content

Fix PostgreSQL

Fix PostgreSQL #437

Workflow file for this run

name: Tests
on:
push:
branches:
- master
- release/*
pull_request:
workflow_dispatch:
jobs:
mysql-tests:
name: MySQL
uses: ./.github/workflows/tests-matrix.yml

Check failure on line 14 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. In .github/workflows/tests.yml (Line: 14, Col: 15): Error from called workflow cybex-gmbh/laravel-protector/.github/workflows/tests-matrix.yml@fd32ba78b16b9e79225a7358d4bb48359b02550f (Line: 3, Col: 9): Unexpected value 'DATABASE_IMAGE' In .github/workflows/tests.yml (Line: 14, Col: 15): Error from called workflow cybex-gmbh/laravel-protector/.github/workflows/tests-matrix.yml@fd32ba78b16b9e79225a7358d4bb48359b02550f (Line: 7, Col: 9): Unexpected value 'DATABASE_PORT'
with:
DATABASE_IMAGE: mysql:8.0
DATABASE_PORT: 3306
DATABASE_USERNAME: root
DATABASE_CONNECTION: mysql
DATABASE_OPTIONS: "--health-cmd=\"mysqladmin ping\" --health-interval=10s --health-timeout=5s --health-retries=3"
postgres-tests:
name: PostgreSQL
uses: ./.github/workflows/tests-matrix.yml
with:
DATABASE_IMAGE: postgres:17
DATABASE_PORT: 5432
DATABASE_USERNAME: postgres
DATABASE_CONNECTION: pgsql
DATABASE_OPTIONS: "--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 3"