From ef9f5113878492e1390d4092874c0e678c12b081 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Mon, 9 Aug 2021 13:00:29 -0300 Subject: [PATCH] Run composer update for wp nightly --- .github/workflows/ci.yml | 6 +++++- .github/workflows/pr-unit-tests.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a74a030e6e..c9820df477b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/pr-unit-tests.yml b/.github/workflows/pr-unit-tests.yml index d7a14cdd55d..fafe53fa659 100644 --- a/.github/workflows/pr-unit-tests.yml +++ b/.github/workflows/pr-unit-tests.yml @@ -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