Skip to content

Commit

Permalink
Move composer.json validate of sub-packages to GitHub Actions
Browse files Browse the repository at this point in the history
glensc committed Dec 20, 2020

Verified

This commit was signed with the committer’s verified signature. The key has expired.
HighCrit HighCrit
1 parent 8187867 commit 13529de
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -42,4 +42,10 @@ jobs:
git ls-files '**/*.php' | while read f; do php -l "$f" > /dev/null || touch failed && echo -n .; done
test ! -f failed
# https://github.com/zf1s/zf1/pull/6#issuecomment-495397170
- name: Validate composer.json for all packages
run: |
for json in packages/*/composer.json; do COMPOSER=$json composer validate || touch failed; done
test ! -f failed
# vim:ft=yaml:et:ts=2:sw=2
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -46,9 +46,6 @@ before_script:
- cp ./tests/TestConfiguration.travis.php ./tests/TestConfiguration.php

script:
# validate that every composer.json is valid
# https://github.com/zf1s/zf1/pull/6#issuecomment-495397170
- for json in packages/*/composer.json; do COMPOSER=$json composer validate; done
- ./vendor/bin/phpunit

# EOF

0 comments on commit 13529de

Please sign in to comment.