ETQA, je vois une colonne qui est renommée "permanences" au lieu de "notes" & une colonne "ateliers" au lieu d'"accompagnement numérique" #160
Workflow file for this run
This file contains 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: Ci | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
jobs: | |
symfony-tests: | |
runs-on: ubuntu-latest | |
steps: | |
# To automatically get bug fixes and new Php versions for shivammathur/setup-php, | |
# change this to (see https://github.com/shivammathur/setup-php#bookmark-versioning): | |
# uses: shivammathur/setup-php@v2 | |
- uses: shivammathur/setup-php@2cb9b829437ee246e9b3cac53555a39208ca6d28 | |
with: | |
php-version: '8.1' | |
- uses: actions/checkout@v3 | |
- name: Copy .env.test.local | |
run: php -r "file_exists('.env.test.local') || copy('.env.test', '.env.test.local');" | |
- name: Cache Composer packages | |
id: composer-cache | |
uses: actions/cache@v3 | |
with: | |
path: vendor | |
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} | |
restore-keys: | | |
${{ runner.os }}-php- | |
- name: Install Dependencies | |
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist | |
- name: Setup PostgreSQL | |
uses: Harmon758/[email protected] | |
with: | |
postgresql db: mpp_test | |
postgresql user: mpp | |
postgresql password: mpp | |
- name: Run Doctrine Migrations | |
run: php bin/console doctrine:migrations:migrate -q --env=test | |
- name: Run Rector | |
run: vendor/bin/rector process --dry-run --clear-cache | |
- name: Run Php-cs-fixer on src | |
run: vendor/bin/php-cs-fixer fix src -v --dry-run --stop-on-violation --using-cache=no | |
- name: Run Php-cs-fixer on tests | |
run: vendor/bin/php-cs-fixer fix tests -v --dry-run --stop-on-violation --using-cache=no | |
- name: Load fixtures | |
run: php bin/console doctrine:fixtures:load --env=test -n | |
- name: Execute tests (Unit and Feature tests) via PHPUnit | |
run: vendor/bin/simple-phpunit tests | |
- name: Run PhpStan | |
run: vendor/bin/phpstan analyse |