diff --git a/.github/workflows/build.ci.yml b/.github/workflows/build.ci.yml index 86e1756..23b4d1b 100644 --- a/.github/workflows/build.ci.yml +++ b/.github/workflows/build.ci.yml @@ -70,6 +70,9 @@ jobs: for afile in $(find . -type f -name '*.php' -path './src*/*' -print); do php -l $afile done + for afile in $(find . -type f -name '*.php' -path './tests*/*' -print); do + php -l $afile + done - name: Run PHPLOC continue-on-error: true diff --git a/.github/workflows/build.release.yml b/.github/workflows/build.release.yml index 3056a69..fa0331f 100644 --- a/.github/workflows/build.release.yml +++ b/.github/workflows/build.release.yml @@ -57,6 +57,15 @@ jobs: mkdir build/dist mkdir build/phpdoc + - name: Run Lint + run: | + for afile in $(find . -type f -name '*.php' -path './src*/*' -print); do + php -l $afile + done + for afile in $(find . -type f -name '*.php' -path './tests*/*' -print); do + php -l $afile + done + - name: Run PHPLOC continue-on-error: true run: |