Feature/5564 dependency updates #211
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: PR Review | |
| env: | |
| COMPOSE_USER: root | |
| on: pull_request | |
| jobs: | |
| phpunit: | |
| name: PHP Unit tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Install site | |
| run: | | |
| docker network create frontend | |
| docker compose pull | |
| docker compose up --detach | |
| docker compose exec --user=root phpfpm composer install | |
| docker compose exec phpfpm bin/console doctrine:migrations:migrate --no-interaction | |
| - name: Run tests | |
| run: | | |
| docker compose exec phpfpm composer run tests | |
| fixtures: | |
| name: Load fixtures | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 2 | |
| - name: Install site | |
| run: | | |
| docker network create frontend | |
| docker compose pull | |
| docker compose up --detach | |
| docker compose exec --user=root phpfpm composer install | |
| docker compose exec phpfpm bin/console doctrine:migrations:migrate --no-interaction | |
| - name: Load fixtures | |
| run: | | |
| docker compose exec phpfpm composer fixtures | |
| build-assets: | |
| name: Build assets | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 2 | |
| - name: Build assets | |
| run: | | |
| docker network create frontend | |
| docker compose run --rm node yarn install | |
| docker compose run --rm node yarn build |