composer: try falling back to guzzlehttp/guzzle 7.5.0 #93
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# - name: Install packages | |
# run: sudo apt -y --no-install-recommends install ca-certificates curl git php7.4-cli php7.4-curl php7.4-json php7.4-mbstring php7.4-xml php7.4-gmp composer | |
- name: Install dependencies | |
uses: php-actions/composer@v5 | |
with: | |
php_version: 7.4 | |
version: 2 | |
- name: Run tests | |
uses: php-actions/composer@v6 | |
with: | |
command: run test | |
php_version: 7.4 | |
version: 2 | |
env: | |
# because of: 1x: Class "ApiPlatform\Core\Bridge\Symfony\Bundle\Test\Client" should implement method "Symfony\Contracts\HttpClient\HttpClientInterface::withOptions(array $options)": Returns a new instance of the client with new default options. | |
SYMFONY_DEPRECATIONS_HELPER: weak | |
# - name: PHPUnit tests | |
# uses: php-actions/phpunit@v2 | |
# with: | |
# php_version: 7.4 | |
# version: 8 | |
# - name: Run tests | |
# run: vendor/bin/simple-phpunit | |
# - name: Run tests | |
# run: php7.4 vendor/bin/simple-phpunit | |
- name: Try to build docker image | |
run: docker build . |