Skip to content

Commit

Permalink
Use composer commands. and better yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyfrench committed Feb 19, 2020
1 parent 1f606e1 commit 3296208
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
name: PHP Composer

on: [push, pull_request]
on: [push]

jobs:
phpcs:
name: PHPCS
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
name: Setup PHP
coverage: xdebug
tools: phpcs

- name: Test with phpunit
run: composer cs-check
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
name: Setup PHP
coverage: xdebug
tools: phpcs

- name: Test with phpunit
run: composer cs-check

unit-tests:
name: phpunit
Expand Down

0 comments on commit 3296208

Please sign in to comment.