Skip to content

Commit fd2972d

Browse files
committed
Updated workflow
1 parent 37f949d commit fd2972d

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/Test.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,21 @@ on:
77
- '**.php'
88
- 'composer.json'
99
branches:
10-
- 'main'
10+
- 'PHP8'
1111
pull_request:
1212
paths:
1313
- '**.php'
1414
- 'composer.json'
1515
branches:
16-
- 'main'
16+
- 'PHP8'
1717
workflow_dispatch:
1818

1919
jobs:
2020
run:
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
24-
php: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' ]
25-
#continue-on-error: ${{ matrix.php == '8.1' }}
24+
php: [ '8.0', '8.1' ]
2625
name: PHP ${{ matrix.php }} Test
2726

2827
steps:
@@ -47,12 +46,6 @@ jobs:
4746
- name: Run phpcs
4847
run: composer cs-check -- -v
4948

50-
- name: Setup PCOV
51-
if: matrix.php == '7.1'
52-
run: |
53-
composer require pcov/clobber
54-
vendor/bin/pcov clobber
55-
5649
- name: Execute tests
5750
run: composer test -- -v --coverage-clover=coverage.xml
5851

0 commit comments

Comments
 (0)