From 802b899d441a025a9e137bb762bbb827fea3277e Mon Sep 17 00:00:00 2001 From: Baptiste Leduc Date: Mon, 3 Jun 2024 12:29:19 +0200 Subject: [PATCH] Symfony 7 support --- .github/workflows/ci.yaml | 8 +++----- composer.json | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bfdc5fa..11ec12b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,18 +27,16 @@ jobs: php-version: ${{ matrix.php-version }} - name: composer install run: composer update --prefer-dist --no-interaction ${{ matrix.composer-flags }} - - name: Build docker + - name: docker build run: docker build -t httpbin . - - name: Run docker + - name: docker run run: docker run -d --rm -p 8081:80 httpbin - name: tests run: bin/asynit tests --report report/asynit.xml - - - name: Test Report + - name: check report uses: dorny/test-reporter@v1 if: success() || failure() # run this step even if previous step failed with: name: Asynit Tests ${{ matrix.php-version }} path: report/asynit.xml reporter: java-junit - diff --git a/composer.json b/composer.json index 85fe63d..789f665 100644 --- a/composer.json +++ b/composer.json @@ -31,8 +31,8 @@ "amphp/http-client": "^v5.0.1", "amphp/sync": "^2.0", "bovigo/assert": "^7.0", - "symfony/console": "^4.4 || ^5.0 || ^6.0", - "symfony/finder": "^4.4 || ^5.0 || ^6.0" + "symfony/console": "^4.4 || ^5.0 || ^6.0 || ^7.0", + "symfony/finder": "^4.4 || ^5.0 || ^6.0 || ^7.0" }, "suggest": { "amphp/http-client": "To use the web test case trait"