Skip to content

Commit 60239d7

Browse files
committed
Use developer-tools from test-framework
1 parent 4111879 commit 60239d7

File tree

3 files changed

+36
-2654
lines changed

3 files changed

+36
-2654
lines changed

.github/workflows/php.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,28 +70,28 @@ jobs:
7070
run: composer install --no-progress --prefer-dist --optimize-autoloader
7171

7272
- name: PHP Code Sniffer
73-
run: php vendor/bin/phpcs
73+
run: php vendor/simplesamlphp/simplesamlphp-test-framework/tools/phpcs
7474

7575
- name: Psalm
7676
continue-on-error: true
7777
run: |
78-
php vendor/bin/psalm \
78+
php vendor/simplesamlphp/simplesamlphp-test-framework/tools/psalm \
7979
-c psalm.xml \
8080
--show-info=true \
8181
--shepherd \
8282
--php-version=${{ steps.setup-php.outputs.php-version }}
8383
8484
- name: Psalm (testsuite)
8585
run: |
86-
php vendor/bin/psalm \
86+
php vendor/simplesamlphp/simplesamlphp-test-framework/tools/psalm \
8787
-c psalm-dev.xml \
8888
--show-info=true \
8989
--shepherd \
9090
--php-version=${{ steps.setup-php.outputs.php-version }}
9191
9292
- name: Psalter
9393
run: |
94-
php vendor/bin/psalter \
94+
php vendor/simplesamlphp/simplesamlphp-test-framework/tools/psalter \
9595
--issues=UnnecessaryVarAnnotation \
9696
--dry-run \
9797
--php-version=${{ steps.setup-php.outputs.php-version }}
@@ -185,11 +185,11 @@ jobs:
185185

186186
- name: Run unit tests with coverage
187187
if: ${{ matrix.php-versions == '8.1' }}
188-
run: ./vendor/bin/phpunit
188+
run: vendor/simplesamlphp/simplesamlphp-test-framework/tools/phpunit
189189

190190
- name: Run unit tests (no coverage)
191191
if: ${{ matrix.php-versions != '8.1' }}
192-
run: ./vendor/bin/phpunit --no-coverage
192+
run: vendor/simplesamlphp/simplesamlphp-test-framework/tools/phpunit --no-coverage
193193

194194
- name: Save coverage data
195195
if: ${{ matrix.php-versions == '8.1' }}
@@ -246,7 +246,7 @@ jobs:
246246
run: composer install --no-progress --prefer-dist --optimize-autoloader
247247

248248
- name: Run unit tests
249-
run: ./vendor/bin/phpunit --no-coverage
249+
run: vendor/simplesamlphp/simplesamlphp-test-framework/tools/phpunit --no-coverage
250250

251251
coverage:
252252
name: Code coverage

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787

8888
"mikey179/vfsstream": "~1.6",
8989
"simplesamlphp/simplesamlphp-module-adfs": "dev-master",
90-
"simplesamlphp/simplesamlphp-test-framework": "^1.3.2",
90+
"simplesamlphp/simplesamlphp-test-framework": "^1.4.0",
9191
"simplesamlphp/xml-security": "^1.5.0"
9292
},
9393
"suggest": {

0 commit comments

Comments
 (0)