From 7f1929199d7e7e1405afeb17447ea4fc724e8979 Mon Sep 17 00:00:00 2001 From: Chris Gmyr Date: Sat, 16 Mar 2024 23:17:05 -0400 Subject: [PATCH] wip --- .github/workflows/php-cs-fixer.yml | 2 +- .github/workflows/run-tests-mysql.yml | 6 +++++- .github/workflows/run-tests-postgres.yml | 6 +++++- .github/workflows/run-tests.yml | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/php-cs-fixer.yml b/.github/workflows/php-cs-fixer.yml index f327ab0..6350ebe 100644 --- a/.github/workflows/php-cs-fixer.yml +++ b/.github/workflows/php-cs-fixer.yml @@ -18,6 +18,6 @@ jobs: args: --config=.php-cs-fixer.php --allow-risky=yes - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v4 + uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: Fix styling \ No newline at end of file diff --git a/.github/workflows/run-tests-mysql.yml b/.github/workflows/run-tests-mysql.yml index 6a0e6be..fe815ee 100644 --- a/.github/workflows/run-tests-mysql.yml +++ b/.github/workflows/run-tests-mysql.yml @@ -16,7 +16,11 @@ jobs: MYSQL_DATABASE: db_test_laravel ports: - 33306:3306 - options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 + options: >- + --health-cmd="mysqladmin ping" + --health-interval=10s + --health-timeout=5s + --health-retries=3 strategy: fail-fast: false diff --git a/.github/workflows/run-tests-postgres.yml b/.github/workflows/run-tests-postgres.yml index 1078084..a04b29e 100644 --- a/.github/workflows/run-tests-postgres.yml +++ b/.github/workflows/run-tests-postgres.yml @@ -17,7 +17,11 @@ jobs: POSTGRES_DB: db_test_laravel ports: - 55432:5432 - options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 strategy: fail-fast: false diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9f8636f..38c052d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -107,5 +107,5 @@ jobs: - name: Execute tests (Unit and Feature tests) via PHPUnit env: DB_CONNECTION: sqlite - DB_DATABASE: ':memory:' + DB_DATABASE: ":memory:" run: vendor/bin/phpunit --testdox