mirror of
https://github.com/brufdev/many-notes.git
synced 2025-12-20 09:59:55 -06:00
Add Pest type coverage cache in CI
This commit is contained in:
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@@ -40,6 +40,12 @@ jobs:
|
||||
- name: Install PHP dependencies
|
||||
run: composer install --no-interaction --prefer-dist --optimize-autoloader --ansi
|
||||
|
||||
- name: Cache Pest type coverage
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: vendor/pestphp/pest-plugin-type-coverage/.temp
|
||||
key: pest-type-coverage-${{ runner.os }}-${{ hashFiles('composer.lock') }}
|
||||
|
||||
- name: Get NPM cache directory
|
||||
id: npm-cache-dir
|
||||
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
|
||||
@@ -64,5 +70,5 @@ jobs:
|
||||
cp .env.example .env
|
||||
php artisan key:generate
|
||||
|
||||
- name: Tests
|
||||
- name: Run linters, static analysis, and tests
|
||||
run: composer test
|
||||
Reference in New Issue
Block a user