Skip to content

Fix HTTPClient config #565

Fix HTTPClient config

Fix HTTPClient config #565

Workflow file for this run

name: Tests
on: [pull_request]
jobs:
## PHPUNIT
phpunit:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [8.0, 8.1, 8.2, 8.3]
composer-flags: [null]
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
extensions: intl curl
- run: php -v
- run: composer update ${{ matrix.composer-flags }} --no-interaction --no-progress --prefer-dist --ansi
- run: ./vendor/bin/phpunit --color=always
## PHPSTAN
phpstan:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install PHP
uses: shivammathur/[email protected]
with:
php-version: '8.0'
coverage: none
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
update: true
- name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-progress --optimize-autoloader
- name: PHPStan tests
run: composer phpstan