Make WordPress Core


Ignore:
Timestamp:
10/16/2020 05:12:16 PM (4 years ago)
Author:
desrosj
Message:

Build/Test Tools: Specify the full working directory for PHPCS

Props ocean90.
See #50401.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/php-compatibility.yml

    r49162 r49175  
    6262        run: |
    6363          composer install --prefer-dist --no-suggest --no-progress --no-ansi --no-interaction
    64           echo "vendor/bin" >> $GITHUB_PATH
     64          echo "${PWD}/vendor/bin" >> $GITHUB_PATH
     65
     66      - name: Log PHPCS debug information
     67        run: phpcs -i
    6568
    6669      - name: Run PHP compatibility tests
    67         run: vendor/bin/phpcs --standard=phpcompat.xml.dist -q --report=checkstyle | cs2pr
     70        run: phpcs --standard=phpcompat.xml.dist -q --report=checkstyle | cs2pr
Note: See TracChangeset for help on using the changeset viewer.