Skip to content

Commit

Permalink
updated min drupal version, dropped d9.3 and added d9.5 in test
Browse files Browse the repository at this point in the history
  • Loading branch information
divya-intelli committed Jan 3, 2023
1 parent a2e474b commit 707b22b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
- "8.1"
drupal-core:
# Should update the following as the minimum supported version from Drupal.org
- "9.3.x"
- "9.4.x"
- "9.5.x"
instance-type:
- "Edge"
- "X"
Expand Down Expand Up @@ -141,13 +141,13 @@ jobs:
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional
- name: "Run PHPUnit tests"
if: ${{ matrix.drupal-core != '9.4.x' || matrix.php-version != '8.1' }}
if: ${{ matrix.drupal-core != '9.5.x' || matrix.php-version != '8.1' }}
run: |
cd drupal
vendor/bin/phpunit -c core --verbose --color --group apigee_m10n --testsuite unit,kernel,functional,functional-javascript modules/contrib/apigee_m10n
- name: "Run PHPUnit tests with Code Coverage"
if: ${{ matrix.drupal-core == '9.4.x' && matrix.php-version == '8.1' }}
if: ${{ matrix.drupal-core == '9.5.x' && matrix.php-version == '8.1' }}
run: |
cd drupal
cp modules/contrib/apigee_m10n/phpunit.core.xml.dist core/phpunit.xml
Expand All @@ -161,7 +161,7 @@ jobs:
path: drupal/sites/simpletest/browser_output/*

- name: Upload coverage to Codecov
if: ${{ matrix.drupal-core == '9.4.x' && matrix.php-version == '8.1' }}
if: ${{ matrix.drupal-core == '9.5.x' && matrix.php-version == '8.1' }}
uses: codecov/codecov-action@v3
with:
files: /tmp/coverage_${{ matrix.instance-type }}.xml
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"cweagans/composer-patches": "~1.6",
"commerceguys/intl": "~1.0",
"drupal/apigee_edge": "^2.0.2",
"drupal/core": "^9.3",
"drupal/core": "^9.4",
"drupal/requirement": "~1.0",
"apigee/apigee-client-php": "^2.0.16"
},
"require-dev": {
"apigee/apigee-mock-client-php": "^1.1.1",
"behat/mink-extension": "^2.0",
"bex/behat-screenshot": "^1.2",
"drupal/core-dev": "^9.3",
"drupal/core-dev": "^9.4",
"drush/drush": "^9.0 || ^10.0",
"mglaman/drupal-check": "^1.3",
"phpmd/phpmd": "^2.8.2",
Expand Down

0 comments on commit 707b22b

Please sign in to comment.