From 1466aaaa2f57d30c21b431195ae309fd82525c90 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Wed, 6 Jan 2021 22:39:32 +0900 Subject: [PATCH] Remove abraham/twitteroauth for testing in PHP <= 7.2 --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e06dd87d..562304c0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,12 @@ jobs: if: matrix.php != '8.0' run: php -S localhost:8000 & + - name: Remove incompatible dependencies from older PHP versions + if: matrix.php <= '7.2' + run: | + wget https://getcomposer.org/composer-2.phar + php composer-2.phar remove --ignore-platform-reqs abraham/twitteroauth + - name: Build and run codeception if: matrix.php != '8.0' run: php codecept.phar build && php codecept.phar run --debug --fail-fast --env travis