Skip to content

Commit

Permalink
Updated workflow configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
batumibiz committed Nov 5, 2024
1 parent f5c4d2a commit 90ff4e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,20 @@ jobs:
run: composer install --no-progress --no-interaction --ignore-platform-req=php

- name: Test
if: matrix.php-versions != '8.2'
if: matrix.php-versions != '8.3'
run: composer test
continue-on-error: true

- name: Test with Coverage
if: matrix.php-versions == '8.2'
if: matrix.php-versions == '8.3'
working-directory: ./
run: |
composer test-coverage
sed -i 's/\/home\/runner\/work\/render\/render\//\/github\/workspace\//g' report.xml
sed -i 's/\/home\/runner\/work\/render\/render\//\/github\/workspace\//g' clover.xml
- name: Scan code with SonarCloud
if: matrix.php-versions == '8.2'
if: matrix.php-versions == '8.3'
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -68,7 +68,7 @@ jobs:
-Dsonar.php.coverage.reportPaths=clover.xml
- name: Test with latest dependencies
if: matrix.php-versions == '8.2'
if: matrix.php-versions == '8.3'
run: |
composer update
composer test

0 comments on commit 90ff4e2

Please sign in to comment.