Files
breadcrumb-the-shire/.github/workflows/qa-required.yaml
aminovfariz f4b08e4c73
Some checks failed
deploy / QA gates (push) Has been cancelled
deploy / Build & deploy (push) Has been cancelled
fix(ci): install ripgrep on runner before qa-required scripts
CSS/docs/JS contract checks call rg directly on the host runner,
not inside Docker, so ripgrep must be present on the ubuntu runner.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-08 09:06:12 +02:00

40 lines
907 B
YAML

name: qa-required
on:
push:
branches:
- main
pull_request:
jobs:
qa-required:
name: qa-required
runs-on: ubuntu-latest
env:
COMPOSE_PROJECT_NAME: breadcrumb-ci
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create .env for CI
run: cp .env.example .env
- name: Start project services
run: |
docker compose up -d --force-recreate php db memcached
sleep 20
- name: Install Composer dependencies
run: |
docker compose exec -T php bash -c "cd /var/www && composer install --no-interaction --prefer-dist --optimize-autoloader"
- name: Run DB migrations
run: docker compose exec -T php php bin/console db:migrate
- name: Install ripgrep
run: sudo apt-get install -y ripgrep
- name: Run required QA gates
run: bin/qa-required.sh