Merge pull request #4 from solventt/dependabot/composer/7.4/php-di/ph… #34
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/[email protected] | |
with: | |
ref: 7.4 | |
- name: Install PHP 7.4 | |
uses: shivammathur/[email protected] | |
with: | |
php-version: 7.4 | |
- name: Install dependencies with Composer | |
uses: ramsey/[email protected] | |
- 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 |