Update psalm output for actions run and change level=2 #9
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: Codeception tests | |
on: [push] | |
jobs: | |
build: | |
name: PHP ${{ matrix.php }}, Mode ${{ matrix.mode }} | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ ubuntu-latest ] | |
php: [ '8.0', '8.1', '8.2', '8.3' ] | |
mode: ['stable', 'lowest'] | |
exclude: | |
- php: '8.1' | |
mode: 'lowest' | |
- php: '8.2' | |
mode: 'lowest' | |
- php: '8.3' | |
mode: 'lowest' | |
steps: | |
- uses: actions/checkout@master | |
- name: Setup PHP | |
uses: nanasess/setup-php@master | |
with: | |
php-version: ${{ matrix.php }} | |
- name: Install dependencies in stable mode | |
if: matrix.mode == 'stable' | |
run: composer update --no-interaction --no-progress --optimize-autoloader --ansi | |
- name: Install lowest supported dependencies in lowest mode | |
if: matrix.mode == 'lowest' | |
run: composer update --prefer-lowest --no-interaction --no-progress --optimize-autoloader --ansi | |
- name: Run tests | |
run: php vendor/bin/codecept run |