Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.3 & Drupal 10.3 versions are added #258

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ jobs:
php-version:
- "8.1"
- "8.2"
- "8.3"
drupal-core:
# Should update the following as the minimum supported version from Drupal.org
- "10.1.x"
- "10.2.x"
- "10.3.x"

steps:

Expand Down Expand Up @@ -110,13 +111,13 @@ jobs:
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional

- name: "Run PHPUnit Tests"
if: ${{ matrix.drupal-core != '10.1.x' || matrix.php-version != '8.1' }}
if: ${{ matrix.drupal-core != '10.2.x' || matrix.php-version != '8.2' }}
run: |
cd drupal
vendor/bin/phpunit -c core --verbose --color --group apigee_api_catalog --testsuite unit,kernel,functional,functional-javascript modules/contrib/apigee_api_catalog

- name: "Run PHPUnit Tests with Code Coverage"
if: ${{ matrix.drupal-core == '10.1.x' && matrix.php-version == '8.1' }}
if: ${{ matrix.drupal-core == '10.2.x' && matrix.php-version == '8.2' }}
run: |
cd drupal
cp modules/contrib/apigee_api_catalog/phpunit.core.xml.dist core/phpunit.xml
Expand All @@ -130,7 +131,7 @@ jobs:
path: drupal/sites/simpletest/browser_output/*

- name: Upload Coverage to Codecov
if: ${{ matrix.drupal-core == '10.1.x' && matrix.php-version == '8.1' }}
if: ${{ matrix.drupal-core == '10.2.x' && matrix.php-version == '8.2' }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "drupal-module",
"description": "Apigee API Catalog for Drupal",
"require": {
"php": "~8.1.0 || ~8.2.0",
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"drupal/entity": "^1.1",
"drupal/file_link": "^2.0",
"drupal/apigee_edge": "^3.0.0",
Expand Down
Loading