diff --git a/.github/workflows/test-requirements-check.yml b/.github/workflows/test-requirements-check.yml index d8a5e615a1..538b577671 100644 --- a/.github/workflows/test-requirements-check.yml +++ b/.github/workflows/test-requirements-check.yml @@ -104,11 +104,57 @@ jobs: # Test failing the requirements check when the PHP version is too low. - name: "PHP 5.3, fail on PHP too low" + os: 'ubuntu-latest' + cmd: 'phpcs' php: '5.3' extensions: '' expected: 'fail' + - name: "PHP 5.3, fail on PHP too low" + os: 'windows-latest' + cmd: 'phpcs' + php: '5.3' + extensions: '' + expected: 'fail' + + - name: "PHP 5.3, fail on PHP too low" + os: 'ubuntu-latest' + cmd: 'phpcbf' + php: '5.3' + extensions: '' + expected: 'fail' + + - name: "PHP 5.3, fail on PHP too low" + os: 'windows-latest' + cmd: 'phpcbf' + php: '5.3' + extensions: '' + expected: 'fail' + + - name: "PHP 7.1, fail on PHP too low" + os: 'ubuntu-latest' + cmd: 'phpcs' + php: '7.1' + extensions: '' + expected: 'fail' + + - name: "PHP 7.1, fail on PHP too low" + os: 'windows-latest' + cmd: 'phpcs' + php: '7.1' + extensions: '' + expected: 'fail' + + - name: "PHP 7.1, fail on PHP too low" + os: 'ubuntu-latest' + cmd: 'phpcbf' + php: '7.1' + extensions: '' + expected: 'fail' + - name: "PHP 7.1, fail on PHP too low" + os: 'windows-latest' + cmd: 'phpcbf' php: '7.1' extensions: '' expected: 'fail' @@ -147,7 +193,7 @@ jobs: # yamllint disable-line rule:line-length # TODO - name: "Plain: ${{ matrix.cmd }} PHP ${{ matrix.php }} (${{ matrix.os == 'ubuntu-latest' && 'Linux' || 'Win' }}) ${{ matrix.name }}" + name: "Plain: ${{ matrix.cmd }} PHP ${{ matrix.php }} (${{ matrix.os == 'ubuntu-latest' && 'Linux' || 'Win' }}) ${{ matrix.name }}" continue-on-error: ${{ matrix.php == 'nightly' }}