⬆️ Support Symfony 7 #30
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: Akeneo Coupling Detector CI | |
on: [push] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-versions: ['7.3', '7.4', '8.0', '8.1'] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Setup PHP with no coverage driver | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
- name: Check PHP version | |
run: php -v | |
- name: Vendor | |
run: composer install | |
- name: Specs | |
run: ./vendor/bin/phpspec run | |
- name: Static tests | |
run: ./vendor/bin/phpstan analyse src -l 5 | |
tests_with_docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build the stack | |
run: make vendor | |
- name: Test | |
run: make test |