Skip to content

Commit

Permalink
GH Actions/test: remove the experimental key from the matrix
Browse files Browse the repository at this point in the history
... as, at this time, it isn't really needed.
  • Loading branch information
jrfnl committed Nov 3, 2023
1 parent 552a6c8 commit 36ee2ee
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ jobs:
runs-on: ubuntu-latest

strategy:
# Keys:
# - experimental: Whether the build is "allowed to fail".
matrix:
# The GHA matrix works different from Travis.
# You can define jobs here and then augment them with extra variables in `include`,
Expand All @@ -43,29 +41,25 @@ jobs:
# The matrix is set up so as not to duplicate the builds which are run for code coverage.
php_version: ['5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '8.0', '8.1', '8.2']
cs_dependencies: ['lowest', 'highest']
experimental: [false]

include:
# Experimental builds. These are allowed to fail.

# PHP nightly
- php_version: '8.3'
cs_dependencies: 'highest'
experimental: true
# Test against WPCS unstable. Re-enable when WPCS is not in dev for the next major.
#- php_version: '8.0'
# cs_dependencies: 'highest'
# experimental: true

# Test against the next major of PHPCS. Temporarily disabled due to upstream bugs.
#- php_version: '7.4'
# cs_dependencies: 'highest'
# phpcs_version: '4.0.x-dev'
# experimental: true

name: "Test${{ matrix.cs_dependencies == 'highest' && ' + Lint' || '' }}: PHP ${{ matrix.php_version }} - CS Deps ${{ matrix.cs_dependencies }}"

continue-on-error: ${{ matrix.experimental }}
continue-on-error: ${{ matrix.php == '8.3' }}

steps:
- name: Checkout code
Expand Down

0 comments on commit 36ee2ee

Please sign in to comment.