Skip to content

Commit 1d9b847

Browse files
committed
feat: enhance CI workflow with Pint installation and testing
1 parent 3a0f4e8 commit 1d9b847

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,15 @@ jobs:
7474
- name: Import database
7575
run: php artisan migrate --seed
7676

77+
- name: Install Pint
78+
run: composer global require laravel/pint
79+
80+
- name: Run Pint Test
81+
run: pint --test
82+
83+
- name: Static analysis
84+
run: ./vendor/bin/phpstan analyse
85+
7786
- name: Run tests
7887
run: ./vendor/bin/pest --configuration ./phpunit.xml --coverage-clover runtime/.phpunit.cache/coverage.xml
7988

@@ -86,6 +95,3 @@ jobs:
8695

8796
- name: Dependencies security check
8897
uses: symfonycorp/security-checker-action@v5
89-
90-
- name: Static analysis
91-
run: ./vendor/bin/phpstan analyse

dev/ci.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
php artisan test
2+
/home/wwwroot/bamboocms-php/vendor/bin/pint
23
/home/wwwroot/bamboocms-php/vendor/bin/phpstan analyse

0 commit comments

Comments
 (0)