Skip to content

Commit 0236f25

Browse files
committed
update build
1 parent 5d5293b commit 0236f25

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,25 @@ name: build
22

33
on:
44
push:
5-
branches: [ php72 ]
5+
branches: [ 1.x ]
66
pull_request:
7-
branches: [ php72 ]
7+
branches: [ 1.x ]
88

99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
php: [7.2, 7.3, 7.4]
14+
php-versions: [7.2, 7.3, 7.4]
1515

1616
steps:
1717
- uses: actions/checkout@v2
1818

19+
- uses: shivammathur/setup-php@v2
20+
with:
21+
php-version: ${{ matrix.php-versions }}
22+
ini-values: error_reporting=E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR|E_PARSE
23+
1924
- name: Validate dependencies
2025
run: composer validate
2126

@@ -38,6 +43,6 @@ jobs:
3843
run: vendor/bin/phpstan analyse
3944

4045
- name: Run test suite
41-
run: vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-clover=coverage.xml
46+
run: phpdbg -qrr vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-clover=coverage.xml
4247

43-
- uses: codecov/codecov-action@v1
48+
- uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)