Skip to content

Commit e505d8b

Browse files
authored
Merge pull request #180 from wayofdev/feat/factories
2 parents 7ebde5f + 02e1806 commit e505d8b

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,19 @@ jobs:
3131
tools: composer:v2, pecl
3232
coverage: xdebug
3333

34-
- name: ♻️ Load cached dependencies
34+
- name: 🛠️ Setup problem matchers
35+
run: |
36+
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
37+
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
38+
39+
- name: ♻️ Restore cached dependencies
3540
id: cached-composer-dependencies
3641
uses: actions/cache@v3
3742
with:
3843
path: vendor
39-
key: vendor-${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
44+
key: vendor-${{ runner.os }}-${{ hashFiles('**/composer.lock') }}-${{ matrix.php }}
4045

41-
- name: ⚙️ Install dependencies
46+
- name: 📥 Install dependencies
4247
if: steps.cached-composer-dependencies.outputs.cache-hit != 'true'
4348
run: composer install
4449

@@ -53,14 +58,14 @@ jobs:
5358
env:
5459
PHP_CS_FIXER_IGNORE_ENV: true
5560

56-
- name: 🧪 Execute phpunit tests
61+
- name: 🧪 Execute phpunit and pest tests
5762
env:
5863
XDEBUG_MODE: coverage
5964
DB_CONNECTION: sqlite
6065
DB_DATABASE: ":memory:"
6166
run: vendor/bin/pest --coverage-clover=coverage.xml
6267

63-
- name: 📝 Run static analysis using phpstan
68+
- name: 🔍 Run static analysis using phpstan
6469
run: composer stan:ci
6570

6671
- name: 📤 Upload coverage report to Codecov

0 commit comments

Comments
 (0)