Skip to content

Commit 0792441

Browse files
committed
CI: switch to GitHub Actions - step 3: move the PEAR package validation
The PEAR native package validation script used to be run on every PHP build, but the results should be no different on any particular PHP version. To that end, move the running of the script from the "test" cycles, to the one-time only run PEAR specific job.
1 parent 7eda814 commit 0792441

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/validate.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,6 @@ jobs:
7171

7272
- name: Validate the PEAR package file contents
7373
run: php scripts/validate-pear-package.php
74+
75+
- name: Validate the PEAR package
76+
run: pear package-validate package.xml

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ script:
6464
- php bin/phpcs --config-set php_path php
6565
- vendor/bin/phpunit tests/AllTests.php
6666
- php bin/phpcs --no-cache --parallel=1
67-
- pear package-validate package.xml
6867
- composer validate --no-check-all --strict
6968
- php scripts/build-phar.php
7069
- php phpcs.phar

0 commit comments

Comments
 (0)