test action fix
CI/CD / test_and_check_app (push) Failing after 1m3s
CI/CD / Publish immutable image (push) Skipped
CI/CD / test_and_check_app (pull_request) Failing after 1m2s
CI/CD / Publish immutable image (pull_request) Skipped

This commit is contained in:
2026-08-22 09:22:13 +00:00
parent a731f9ea10
commit 51b4041572
+32 -11
View File
@@ -4,15 +4,36 @@ description: Build the test image and run all application checks
runs: runs:
using: composite using: composite
steps: steps:
- name: Test and check app steps:
shell: bash - name: Checkout code
run: | uses: actions/checkout@v6
set -Eeuo pipefail
docker buildx build \ - name: Setup PHP
--file Dockerfile \ uses: shivammathur/setup-php@v2
--target test \ with:
--tag "local/kanbangit-test:${GITHUB_SHA}" \ php-version: '8.4'
--progress plain \ tools: composer:v2
--load \ coverage: xdebug
.
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install Node Dependencies
run: npm i --from-lock-file
- name: Install Dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Copy Environment File
run: cp .env.example .env
- name: Generate Application Key
run: php artisan key:generate
- name: Build Assets
run: npm run build
- name: Tests
run: composer ci:check