Skip to content

Commit 58a63f5

Browse files
committed
Update Github Action php-package.yml
1 parent 688a147 commit 58a63f5

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/php-package.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install PHP dependencies, run tests and lint with a variety of PHP versions
22
# For more information see: https://github.com/marketplace/actions/setup-php-action
33

4-
name: php-saml package
4+
name: php-saml 3.x package
55

66
on:
77
push:
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
operating-system: ['ubuntu-latest']
19-
php-versions: [5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4]
19+
php-versions: [5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4]
2020
steps:
2121
- name: Setup PHP, with composer and extensions
2222
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
@@ -25,7 +25,7 @@ jobs:
2525
extensions: mbstring, intl, mcrypt, xml
2626
tools: composer:v2
2727
ini-values: post_max_size=256M, max_execution_time=180
28-
coverage: xdebug
28+
coverage: xdebug2
2929

3030
- name: Set git to use LF
3131
run: |
@@ -43,13 +43,12 @@ jobs:
4343
- name: Syntax check PHP
4444
run: |
4545
php vendor/bin/phpcpd --exclude tests --exclude vendor .
46-
php vendor/bin/phploc . --exclude vendor
47-
php vendor/bin/phploc lib/.
46+
php vendor/bin/phploc src/.
4847
mkdir -p tests/build/dependences
49-
php vendor/bin/pdepend --summary-xml=tests/build/logs/dependence-summary.xml --jdepend-chart=tests/build/dependences/jdepend.svg --overview-pyramid=tests/build/dependences/pyramid.svg lib/.
50-
48+
php vendor/bin/pdepend --summary-xml=tests/build/logs/dependence-summary.xml --jdepend-chart=tests/build/dependences/jdepend.svg --overview-pyramid=tests/build/dependences/pyramid.svg src/.
49+
5150
- name: PHP Code Sniffer
52-
run: php vendor/bin/phpcs --standard=tests/ZendModStandard lib/Saml2 demo1 demo2 demo-old endpoints tests/src
51+
run: php vendor/bin/phpcs --standard=tests/ZendModStandard src/Saml2 demo1 demo2 endpoints tests/src
5352

5453
- name: Run unit tests
5554
run: vendor/bin/phpunit --verbose --debug

0 commit comments

Comments
 (0)