From bf54ef67562d4d3b777c6ff808c9242c03f45be3 Mon Sep 17 00:00:00 2001 From: Sophist <3001893+Sophist-UK@users.noreply.github.com> Date: Fri, 3 Jan 2025 22:10:51 +0000 Subject: [PATCH] Another action fix --- .github/workflows/codecov.yml | 12 ++++++------ .github/workflows/laravel-tests.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 109492e..4f679c3 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -27,7 +27,7 @@ jobs: php-version: [8.3] os: [ubuntu-latest] runs-on: ${{ matrix.os }} - name: Code coverage with PHP ${{ matrix.php-versions }} on ${{ matrix.os }} + name: Code coverage with PHP ${{ matrix.php-version }} on ${{ matrix.os }} env: php-extensions: intl, pcov php-coverage: pcov @@ -67,6 +67,11 @@ jobs: extensions: ${{ env.php-extensions }} coverage: ${{ env.php-coverage }} + - name: Install Dependencies + run: | + composer self-update && composer install --no-interaction --no-progress --prefer-dist -vv + npm run build + - name: Prepare Env. run: | # Copy .env, Generate key, Set directory permissions, Create empty SQLite DB @@ -77,11 +82,6 @@ jobs: rm -f storage/database/visual-laravel.sqlite touch storage/database/visual-laravel.sqlite - - name: Install Dependencies - run: | - composer self-update && composer install --no-interaction --no-progress --prefer-dist -vv - npm run build - - name: Run coverage tests env: DB_CONNECTION: sqlite diff --git a/.github/workflows/laravel-tests.yml b/.github/workflows/laravel-tests.yml index 671189f..2e25ac0 100644 --- a/.github/workflows/laravel-tests.yml +++ b/.github/workflows/laravel-tests.yml @@ -27,7 +27,7 @@ jobs: php-version: [8.2, 8.3, 8.4] os: [ubuntu-latest] runs-on: ${{ matrix.os }} - name: PHPUnit tests with PHP ${{ matrix.php-versions }} on ${{ matrix.os }} + name: PHPUnit tests with PHP ${{ matrix.php-version }} on ${{ matrix.os }} env: php-extensions: intl, pcov php-coverage: pcov @@ -67,6 +67,11 @@ jobs: extensions: ${{ env.php-extensions }} coverage: ${{ env.php-coverage }} + - name: Install Dependencies + run: | + composer self-update && composer install --no-interaction --no-progress --prefer-dist -vv + npm run build + - name: Prepare Env. run: | # Copy .env, Generate key, Set directory permissions, Create empty SQLite DB @@ -77,11 +82,6 @@ jobs: rm -f storage/database/visual-laravel.sqlite touch storage/database/visual-laravel.sqlite - - name: Install Dependencies - run: | - composer self-update && composer install --no-interaction --no-progress --prefer-dist -vv - npm run build - - name: Run PHPUnit/Pest tests env: DB_CONNECTION: sqlite