Skip to content

Commit

Permalink
Merge pull request #7 from szepeviktor/patch-2
Browse files Browse the repository at this point in the history
Update CI workflow
  • Loading branch information
yamadashy authored Sep 22, 2024
2 parents 90ebe10 + 2b19ddf commit 953dceb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
coverage: none

- name: Install dependencies
run: composer install --no-interaction --no-progress --ansi
run: composer update --no-interaction --no-progress --ansi

- name: Run lint
run: find ./src ./tests -name "*.php" | xargs -P10 -n1 php -l
run: find ./src ./tests -type f -name "*.php" -print0 | xargs -0 -P10 -n1 -- php -l

- name: Run coding standards check
run: composer run cs-fix-dry
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi

- name: Run lint
run: find ./src ./tests -name "*.php" | xargs -P10 -n1 php -l
run: find ./src ./tests -type f -name "*.php" -print0 | xargs -0 -P10 -n1 -- php -l

- name: Run unit test
run: composer run test

0 comments on commit 953dceb

Please sign in to comment.