Update a workflow file #42
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: Test php 7 | |
on: | |
push: | |
branches: | |
- 7.4 | |
pull_request: | |
branches: | |
- 7.4 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone a repository | |
uses: actions/checkout@v4 | |
with: | |
ref: 7.4 | |
- name: Install PHP 7.4 | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
- name: Install dependencies with Composer | |
uses: ramsey/composer-install@v2 | |
- name: Run module tests | |
run : vendor/bin/phpunit | |
- name: Run code style checking | |
run : vendor/bin/phpcs | |
- name: Run a static analysis tool | |
run : vendor/bin/psalm |