test concurrently
CI/CD / preconditions (pull_request) Successful in 2s
CI/CD / test_and_check_app (pull_request) Successful in 5m56s
CI/CD / Publish immutable image (pull_request) Skipped

This commit is contained in:
2026-09-16 11:25:01 +02:00
parent 29e697e18c
commit 3f97cda82f
2 changed files with 23 additions and 5 deletions
+10 -4
View File
@@ -63,10 +63,16 @@ runs:
run: php artisan wayfinder:generate --with-form run: php artisan wayfinder:generate --with-form
shell: bash shell: bash
- name: Build Vite app - name: Run independent application checks
run: pnpm run build run: |
pnpm exec concurrently \
--names frontend,backend \
--prefix-colors cyan,magenta \
--kill-others-on-fail \
"composer run ci:frontend" \
"composer run ci:backend"
shell: bash shell: bash
- name: Run ci check - name: Run Laravel tests
run: composer run ci:check run: composer run ci:test
shell: bash shell: bash
+13 -1
View File
@@ -68,10 +68,22 @@
], ],
"ci:check": [ "ci:check": [
"Composer\\Config::disableProcessTimeout", "Composer\\Config::disableProcessTimeout",
"@ci:frontend",
"@ci:backend",
"@ci:test"
],
"ci:frontend": [
"pnpm audit --audit-level=high", "pnpm audit --audit-level=high",
"pnpm run lint:check", "pnpm run lint:check",
"pnpm run types:check", "pnpm run types:check",
"@test" "pnpm run build"
],
"ci:backend": [
"@lint:check"
],
"ci:test": [
"@php artisan config:clear --ansi",
"@php artisan test --parallel --processes=2"
], ],
"test": [ "test": [
"@php artisan config:clear --ansi", "@php artisan config:clear --ansi",