Skip to content

Commit

Permalink
Use gnu parallel for validating composer.json (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc authored Mar 15, 2021
1 parent 1cfdc03 commit dd16213
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ jobs:
# https://github.com/zf1s/zf1/pull/6#issuecomment-495397170
- name: Validate composer.json for all packages
run: |
for json in composer.json packages/*/composer.json; do COMPOSER=$json composer validate || touch failed; done
test ! -f failed
for json in composer.json packages/*/composer.json; do echo COMPOSER=$json; done | parallel env {} composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
Expand Down

0 comments on commit dd16213

Please sign in to comment.