diff --git a/.github/workflows/test-nightly.yml b/.github/workflows/test-nightly.yml index f5ea2ce..047c254 100644 --- a/.github/workflows/test-nightly.yml +++ b/.github/workflows/test-nightly.yml @@ -10,6 +10,9 @@ jobs: strategy: matrix: php: ['7.4'] + include: + - php: '8.0' + experimental: true fail-fast: false name: WP nightly / PHP ${{ matrix.php }} runs-on: ubuntu-18.04 @@ -46,7 +49,7 @@ jobs: - name: Install PHP Dependencies run: | - composer install --prefer-dist --no-progress --no-suggest --no-interaction + composer install --prefer-dist --no-progress --no-suggest --no-interaction --ignore-platform-reqs composer require --dev --update-with-dependencies --prefer-dist roots/wordpress="dev-nightly" wp-phpunit/wp-phpunit="dev-master" - name: Run the tests diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 325527c..a2ee7b7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,6 +13,9 @@ jobs: strategy: matrix: php: ['7.4'] + include: + - php: '8.0' + experimental: true fail-fast: false name: WP 5.9 / PHP ${{ matrix.php }} runs-on: ubuntu-18.04 @@ -49,7 +52,7 @@ jobs: - name: Install PHP Dependencies run: | - composer install --prefer-dist --no-progress --no-suggest --no-interaction + composer install --prefer-dist --no-progress --no-suggest --no-interaction --ignore-platform-reqs - name: Run the tests run: | diff --git a/composer.json b/composer.json index 7660a1b..7ebd60e 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "description": "Authorship", "license": "GPL-3.0-or-later", "require": { - "php": "~7.2", + "php": ">=7.2", "composer/installers": "~1.0", "humanmade/asset-loader": "^0.5.0" },