Skip to content

Improve github actions setup #935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 12, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ on:

jobs:
test:
name: Test on ${{ matrix.php-versions }} PHP
name: Test on PHP ${{ matrix.php-versions }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php-versions: ['7.1', '7.2', '7.3', '7.4']

Expand All @@ -19,13 +20,13 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug
coverage: none

- name: Install Composer Dependencies
uses: ramsey/composer-install@v1

- name: Run phpunit
run: vendor/bin/phpunit --verbose --coverage-text
run: vendor/bin/phpunit --verbose

roave_bc_check:
name: Roave BC Check
Expand All @@ -37,6 +38,7 @@ jobs:
uses: docker://nyholm/roave-bc-check-ga

phpstan:
name: PHPStan
runs-on: ubuntu-latest

steps:
Expand All @@ -45,6 +47,7 @@ jobs:
- uses: shivammathur/setup-php@v2
with:
php-version: 7.1
coverage: none

- name: Install Composer Dependencies
uses: ramsey/composer-install@v1
Expand Down