Run composer update for wp nightly

This commit is contained in:
Claudio Sanches 2021-08-09 13:00:29 -03:00
parent e9443a6850
commit ef9f511387
2 changed files with 10 additions and 2 deletions

View File

@ -65,10 +65,14 @@ jobs:
composer bin phpunit config --unset platform
composer bin phpunit config repositories.0 '{"type": "path", "url": "/tmp/phpunit-7.5-fork/phpunit-add-compatibility-with-php8-to-phpunit-7", "options": {"symlink": false}}'
composer bin phpunit require --dev -W phpunit/phpunit:@dev --ignore-platform-reqs
fi
fi
- name: Init DB and WP
run: ./tests/bin/install.sh woo_test root root 127.0.0.1 ${{ matrix.wp }}
- name: Composer update (WP nightly)
if: 'nightly' == matrix.wp
run: composer update
- name: Run tests
run: ./vendor/bin/phpunit -c ./phpunit.xml

View File

@ -62,10 +62,14 @@ jobs:
composer bin phpunit config --unset platform
composer bin phpunit config repositories.0 '{"type": "path", "url": "/tmp/phpunit-7.5-fork/phpunit-add-compatibility-with-php8-to-phpunit-7", "options": {"symlink": false}}'
composer bin phpunit require --dev -W phpunit/phpunit:@dev --ignore-platform-reqs
fi
fi
- name: Init DB and WP
run: ./tests/bin/install.sh woo_test root root 127.0.0.1 ${{ matrix.wp }}
- name: Composer update (WP nightly)
if: 'nightly' == matrix.wp
run: composer update
- name: Run tests
run: ./vendor/bin/phpunit -c ./phpunit.xml