We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f4a36c commit eaa5fadCopy full SHA for eaa5fad
.github/workflows/push.yml
@@ -0,0 +1,28 @@
1
+name: CI
2
+on: [push, pull_request]
3
+jobs:
4
+ run:
5
+ runs-on: ${{ matrix.operating-system }}
6
+ strategy:
7
+ matrix:
8
+ operating-system: [ubuntu-latest, windows-latest, macos-latest]
9
+ php-versions: ['7.3', '7.4']
10
+ name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v2
14
+
15
+ - name: Setup PHP
16
+ uses: shivammathur/setup-php@v1
17
+ with:
18
+ php-version: ${{ matrix.php-versions }}
19
+ coverage: xdebug
20
21
+ - name: Composer dependencies
22
+ run: composer install --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
23
24
+ - name: Run phpunit
25
+ run: ./vendor/bin/phpunit
26
27
+ - name: Run phpcs
28
+ run: ./vendor/bin/phpcs
0 commit comments