Skip to content

Bump the dependencies group with 3 updates #830

Bump the dependencies group with 3 updates

Bump the dependencies group with 3 updates #830

Workflow file for this run

name: Acquia PHP SDK v2 build and test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
run:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, macos-latest]
php-versions: ['8.0', '8.1', '8.2']
coverage: ['none']
include:
# Only report coverage once
- operating-system: 'ubuntu-latest'
php-versions: '8.2'
coverage: 'pcov'
name: PHP ${{ matrix.php-versions }} build and test on ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: ${{ matrix.coverage }}
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --no-progress --no-interaction
- name: Run test suite
run: composer run-script test
- name: Upload coverage to Codecov
if: matrix.coverage == 'pcov'
uses: codecov/codecov-action@v3
with:
file: ./tests/logs/clover.xml
name: acquia-php-sdk-v2-codecov
# todo: set to true when codecov is more reliable
fail_ci_if_error: false
# Require all checks to pass without having to enumerate them in the branch protection UI.
# @see https://github.community/t/is-it-possible-to-require-all-github-actions-tasks-to-pass-without-enumerating-them/117957
check:
if: always()
needs:
- run
runs-on: ubuntu-22.04
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}