From d2c956aabca59b0c24f37c151134679be4fe5653 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Thu, 3 Feb 2022 05:31:21 +0100 Subject: [PATCH] GH Actions: run integration tests against Composer snapshot ... for a limited set of builds to get early warning of upcoming changes we need to be aware of. It has already been announced that Composer 2.3 will drop support for PHP < 7.2 and there may be more breaking changes, so seeing test failures early would seem a good thing (both to fix things in the plugin, if needs be, as well as to report issues with the next version of Composer upstream). --- .github/workflows/integrationtest.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integrationtest.yml b/.github/workflows/integrationtest.yml index a2ddc968..1605919e 100644 --- a/.github/workflows/integrationtest.yml +++ b/.github/workflows/integrationtest.yml @@ -41,9 +41,18 @@ jobs: - 'ubuntu-latest' - 'windows-latest' + include: + - php: 'latest' + composer: 'snapshot' + os: 'ubuntu-latest' + + - php: 'latest' + composer: 'snapshot' + os: 'windows-latest' + name: "Integration test" - continue-on-error: ${{ matrix.php == '8.2' }} + continue-on-error: ${{ matrix.php == '8.2' || matrix.composer == 'snapshot' }} steps: - name: Checkout code