diff --git a/.github/workflows/cs.yml b/.github/workflows/cs.yml index 290d1a6..c63eeac 100644 --- a/.github/workflows/cs.yml +++ b/.github/workflows/cs.yml @@ -6,6 +6,12 @@ on: # Allow manually triggering the workflow. workflow_dispatch: +# Cancels all previous workflow runs for the same branch that have not yet completed. +concurrency: + # The concurrency group contains the workflow name and the branch name. + group: ${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true + jobs: checkcs: name: 'Check code style' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f28cf98..edc9472 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,17 +6,23 @@ on: # Allow manually triggering the workflow. workflow_dispatch: +# Cancels all previous workflow runs for the same branch that have not yet completed. +concurrency: + # The concurrency group contains the workflow name and the branch name. + group: ${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true + jobs: test: runs-on: ubuntu-latest strategy: matrix: - php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0'] + php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1'] experimental: [false] include: - - php: '8.1' + - php: '8.2' experimental: true name: "Test on PHP ${{ matrix.php }}" @@ -30,7 +36,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - ini-values: error_reporting=E_ALL, display_errors=On + ini-values: zend.assertions=1, error_reporting=-1, display_errors=On coverage: none tools: cs2pr