Skip to content

Commit

Permalink
Another action fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophist-UK committed Jan 3, 2025
1 parent 1c0c808 commit bf54ef6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/laravel-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit bf54ef6

Please sign in to comment.