[Toolkit] Add functional tests to render all Kit components usage codes (from their documentation), with a snapshot system #32
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Toolkit Kits | |
on: | |
push: | |
paths: | |
- 'src/Toolkit/kits/**' | |
pull_request: | |
paths: | |
- 'src/Toolkit/kits/**' | |
jobs: | |
kits-cs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
- name: Install composer packages | |
uses: ramsey/composer-install@v3 | |
with: | |
working-directory: src/Toolkit | |
- name: Check kits code style | |
run: php vendor/bin/twig-cs-fixer check kits | |
working-directory: src/Toolkit |