dependabot[bot] is running tests #371
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: Fenrir Unit Tests | |
run-name: ${{ github.actor }} is running tests | |
on: | |
pull_request: | |
push: | |
branches: master | |
jobs: | |
tests: | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
php: [ '8.1', '8.2', '8.3', '8.4' ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
- name: Verify syntax for ${{ matrix.php }} | |
run: ./util/verify-namespacing.sh | |
- name: Install packages | |
run: composer install --prefer-dist --no-progress | |
- name: Run tests | |
run: composer test |