Skip to content

Commit

Permalink
composer lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaydsouza committed Jan 11, 2025
1 parent 78c4dfb commit 24db5bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,13 @@ jobs:
coverage: none
tools: composer, phpunit

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress
run: |
composer update --no-interaction --prefer-dist
composer install --prefer-dist --no-progress
- name: Install WordPress Test Suite
env:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dealerdirect/phpcodesniffer-composer-installer": "^1",
"phpcompatibility/phpcompatibility-wp": "^2",
"yoast/phpunit-polyfills": "^3",
"phpunit/phpunit": "^5.7.21 || ^6.5 || ^7.5 || ^8.5"
"phpunit/phpunit": "^7.5 || ^8.5"
},
"config": {
"allow-plugins": {
Expand Down

0 comments on commit 24db5bf

Please sign in to comment.