From 1bf8923d18b461d173775b10a1486c474b026a13 Mon Sep 17 00:00:00 2001 From: Piotr Synowiec Date: Thu, 28 Dec 2023 12:01:31 +0100 Subject: [PATCH] action-php-8.3: init --- .github/workflows/ci.yml | 16 ++-------------- phpunit.xml.dist8 => phpunit.xml.dist7 | 0 2 files changed, 2 insertions(+), 14 deletions(-) rename phpunit.xml.dist8 => phpunit.xml.dist7 (100%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6adf51e..25d67b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: runs-on: self-hosted strategy: matrix: - php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ] + php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ] steps: - name: Setup PHP (PHP ${{ matrix.php }}) uses: shivammathur/setup-php@v2 @@ -32,7 +32,7 @@ jobs: run: composer install - name: Prepare PHPUnit config file for PHP < 8 - run: cp phpunit.xml.dist8 phpunit.xml.dist + run: cp phpunit.xml.dist7 phpunit.xml.dist if: "matrix.php < 8" - name: PHPUnit tests (PHP ${{ matrix.php }}) @@ -48,15 +48,3 @@ jobs: - name: Fix code coverage paths run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' var/coverage.xml - -# - name: Analyze with SonarQube -# uses: sonarsource/sonarqube-scan-action@master -# env: -# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} -# SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} -# # If you wish to fail your job when the Quality Gate is red, uncomment the -# # following lines. This would typically be used to fail a deployment. -# # - uses: sonarsource/sonarqube-quality-gate-action@master -# # timeout-minutes: 5 -# # env: -# # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/phpunit.xml.dist8 b/phpunit.xml.dist7 similarity index 100% rename from phpunit.xml.dist8 rename to phpunit.xml.dist7