Skip to content

Replace HTTPlug factories by PSR-17 #226

Replace HTTPlug factories by PSR-17

Replace HTTPlug factories by PSR-17 #226

Workflow file for this run

name: Component
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: ['8.0', '8.1', '8.2']
component: [Common, Http, Plugin]
name: PHP ${{ matrix.php-version }} / ${{ matrix.component }}
steps:
- uses: actions/checkout@v3
- name: Use PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: curl
- name: Validate composer.json and composer.lock
working-directory: ./src/${{ matrix.component }}
run: composer validate
- name: Install dependencies
working-directory: ./src/${{ matrix.component }}
run: composer install --no-progress
- name: Run test suite
working-directory: ./src/${{ matrix.component }}
run: composer run-script test