Skip to content

Commit

Permalink
Need to expand
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Nov 30, 2024
1 parent 2ce19da commit 4cb36f9
Showing 1 changed file with 47 additions and 1 deletion.
48 changes: 47 additions & 1 deletion .github/workflows/test-requirements-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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' }}

Expand Down

0 comments on commit 4cb36f9

Please sign in to comment.