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:
using: composite
steps:
- name: Test and check app
shell: bash
run: |
set -Eeuo pipefail
steps:
- name: Checkout code
uses: actions/checkout@v6
docker buildx build \
--file Dockerfile \
--target test \
--tag "local/kanbangit-test:${GITHUB_SHA}" \
--progress plain \
--load \
.
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
tools: composer:v2
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