From 7a41cc2a2d4f6604bd8a258086fbd305031f240c Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Tue, 31 Aug 2021 12:51:40 +0100 Subject: [PATCH] Tweak Action to run improved tests --- .github/workflows/run-tests.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d568332c..f424f904 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -11,7 +11,7 @@ jobs: services: postgres: - image: postgres:13.2 + image: postgres:13.4 env: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres @@ -36,15 +36,13 @@ jobs: - name: Copy .env run: php -r "file_exists('.env') || copy('.env.github', '.env');" - name: Install dependencies - run: composer install -q --no-ansi --no-interaction --no-progress + run: composer install --quiet --no-ansi --no-interaction --no-progress - name: Generate key run: php artisan key:generate - name: Setup directory permissions run: chmod -R 777 storage bootstrap/cache - name: Setup test database - run: | - php artisan migrate - php artisan db:seed + run: php artisan migrate - name: Execute tests (Unit and Feature tests) via PHPUnit run: vendor/bin/phpunit - name: Run phpcs