Skip to content

Commit

Permalink
Merge pull request #2424 from WordPress/feature/ghactions-minor-tweaks
Browse files Browse the repository at this point in the history
GH Actions: minor tweaks
  • Loading branch information
dingo-d committed Feb 16, 2024
2 parents eaa70fe + cdda1f2 commit f985e0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/quicktest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Lint PHP files against parse errors
if: ${{ matrix.dependencies == 'stable' }}
run: composer lint -- --checkstyle
run: composer lint

- name: Run the unit tests without code coverage
if: ${{ github.ref_name != 'develop' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
coverage: [false]

include:
- php: '7.4'
- php: '7.2'
dependencies: 'stable'
extensions: ':mbstring' # = Disable Mbstring.
coverage: true # Make sure coverage is recorded for this too.
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
custom-cache-suffix: $(date -u "+%Y-%m")

- name: "Composer: downgrade PHPCS dependencies for tests (lowest)"
if: ${{ ! startsWith( matrix.php, '8' ) && matrix.dependencies == 'lowest' }}
if: ${{ matrix.dependencies == 'lowest' }}
run: >
composer update --prefer-lowest --no-scripts --no-interaction
squizlabs/php_codesniffer
Expand Down

0 comments on commit f985e0a

Please sign in to comment.