Upgrade the app to use Symfony 6 and PHP 8.2 #44
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: Run QA tests (static analysis, lint and unit tests) | |
on: [pull_request] | |
jobs: | |
run-qa-tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: /var/www/html/ | |
container: | |
image: ghcr.io/openconext/openconext-basecontainers/php82-apache2-node20-composer2:latest | |
volumes: | |
- .:/var/www/html | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Composer install | |
run: composer install | |
- name: Build frontend assets | |
run: yarn && yarn encore production | |
- name: Run QA tests | |
run: composer check |