Skip to content

[RELEASE] 2.16.6

[RELEASE] 2.16.6 #1951

Workflow file for this run

name: CGL & unit tests
on:
push:
branches:
- '**'
- '!l10n_*'
pull_request:
branches:
- '**'
- '!l10n_*'
jobs:
unit-tests:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
php-version: ["7.4", "8.0"]
steps:
- uses: actions/checkout@v2
- run: sudo update-alternatives --set php /usr/bin/php${{ matrix.php-version }}
- run: composer update --no-interaction --no-progress
- run: composer show
- run: composer tests-for:ci
- name: Push to coveralls (master only)
run: |
.build/bin/php-coveralls \
--root_dir=. --env=prod --verbose \
|| true
if: github.ref == 'refs/heads/master' && matrix.php-version == '7.4'
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: Upload coveralls result
uses: actions/upload-artifact@v2
if: github.ref == 'refs/heads/master' && matrix.php-version == '7.4'
with:
name: Coveralls result
path: ./Build/coveralls-upload.json
unit-tests-lowest:
runs-on: ubuntu-18.04
continue-on-error: true
strategy:
fail-fast: false
matrix:
php-version: ["7.4", "8.0"]
steps:
- uses: actions/checkout@v2
- run: sudo update-alternatives --set php /usr/bin/php${{ matrix.php-version }}
- run: composer update --no-interaction --prefer-lowest --no-progress
- run: composer tests-for:ci