diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index da699d6e..db90cae5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -34,8 +34,17 @@ jobs: matrix: php: ['5.5', '5.6', '7.0.', '7.1', '7.2', '7.3', '7.4', '8.0'] dependency-version: [prefer-stable] + experimental: [false] + include: + # Experimental builds. These are allowed to fail. + - php: '8.1' + dependency-version: 'prefer-stable' + experimental: true + name: P${{ matrix.php }} - ${{ matrix.dependency-version }} + continue-on-error: ${{ matrix.experimental }} + steps: - name: Check out code uses: actions/checkout@v2 @@ -45,12 +54,17 @@ jobs: with: php-version: ${{ matrix.php }} coverage: xdebug - ini-values: sendmail_path=/usr/sbin/sendmail -t -i, zend.multibyte=1, zend.script_encoding=UTF-8, default_charset=UTF-8 + ini-values: sendmail_path=/usr/sbin/sendmail -t -i, zend.multibyte=1, zend.script_encoding=UTF-8, default_charset=UTF-8, error_reporting=E_ALL, display_errors=On extensions: xdebug, imap, mbstring, intl, ctype, filter, hash - - name: Install PHP packages + - name: Install PHP packages - normal + if: ${{ matrix.php != '8.1' }} run: composer install --no-interaction + - name: Install PHP packages - ignore-platform-reqs + if: ${{ matrix.php == '8.1' }} + run: composer install --no-interaction --ignore-platform-reqs + - name: Install postfix run: | sudo apt-get install -y -qq postfix qmail