Skip to content

Commit

Permalink
GH Actions: run integration tests against Composer snapshot
Browse files Browse the repository at this point in the history
... 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).
  • Loading branch information
jrfnl committed Mar 5, 2022
1 parent 8ab9bb5 commit d2c956a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/integrationtest.yml
Expand Up @@ -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
Expand Down

0 comments on commit d2c956a

Please sign in to comment.