Skip to content

Commit

Permalink
Trigger codecov for Drupal 10.1 and php 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
shishir-intelli committed Nov 21, 2023
1 parent 30a4a5a commit 4a3d114
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ jobs:
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional
- name: "Run PHPUnit tests"
if: ${{ matrix.drupal-core != '9.5.x' || matrix.php-version != '8.1' }}
if: ${{ matrix.drupal-core != '10.1.x' || matrix.php-version != '8.1' }}
run: |
cd drupal
vendor/bin/phpunit -c core --verbose --color --group apigee_edge --testsuite unit,kernel,functional,functional-javascript modules/contrib/apigee_edge
- name: "Run PHPUnit tests with Code Coverage"
if: ${{ matrix.drupal-core == '9.5.x' && matrix.php-version == '8.1' }}
if: ${{ matrix.drupal-core == '10.1.x' && matrix.php-version == '8.1' }}
run: |
cd drupal
cp modules/contrib/apigee_edge/phpunit.core.xml.dist core/phpunit.xml
Expand All @@ -156,7 +156,7 @@ jobs:
path: drupal/sites/simpletest/browser_output/*

- name: Upload coverage to Codecov
if: ${{ matrix.drupal-core == '9.5.x' && matrix.php-version == '8.1' }}
if: ${{ matrix.drupal-core == '10.1.x' && matrix.php-version == '8.1' }}
uses: codecov/codecov-action@v3
with:
files: /tmp/coverage_${{ matrix.instance-type }}.xml
Expand Down

0 comments on commit 4a3d114

Please sign in to comment.