Skip to content

Commit

Permalink
devops: GA workflow environment updated
Browse files Browse the repository at this point in the history
  • Loading branch information
kidunot89 committed Nov 6, 2024
1 parent beb1461 commit a785725
Show file tree
Hide file tree
Showing 5 changed files with 11,186 additions and 969 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.1', '8.0', '7.4']
wordpress: ['6.3', '6.2', '6.1', '6.0']
php: ['8.4', '8.3', '8.2', '8.1', '7.4']
wordpress: ['6.7', '6.3', '6.1']
composer_version: ['v2']
include:
- php: '7.4'
wordpress: '6.2'
- php: '8.4'
wordpress: '6.7'
coverage: '--coverage --coverage-xml'
xdebug: 1
- php: '8.1'
wordpress: '6.1'
debug: '--debug'
- wordpress: '6.2'
- wordpress: '6.3'
hpos: 1

fail-fast: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
extensions: mbstring, intl
tools: composer
tools: composer:v2

- name: Get Composer Cache Directory
id: composer-cache
Expand Down
34 changes: 32 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,30 @@
},
"require-dev": {
"axepress/wp-graphql-cs": "^2.0.0-beta",
"axepress/wp-graphql-headless-login": "^0.3.1",
"axepress/wp-graphql-stubs": "^1.27.1",
"brainmaestro/composer-git-hooks": "^3.0",
"codeception/lib-asserts": "*",
"codeception/module-asserts": "*",
"codeception/module-rest": "*",
"codeception/util-universalframework": "*",
"fakerphp/faker": "^1.23",
"johnpbloch/wordpress": "*",
"lucatume/wp-browser": ">3.1 <3.5",
"php-stubs/woocommerce-stubs": "9.1.0",
"phpstan/extension-installer": "^1.3",
"phpstan/phpdoc-parser": "^1.22.0",
"phpstan/phpstan": "^1.10",
"szepeviktor/phpstan-wordpress": "^1.3"
"phpunit/phpunit": "^9.6",
"stripe/stripe-php": "^16.2",
"szepeviktor/phpstan-wordpress": "^1.3",
"wp-cli/wp-cli-bundle": "*",
"wp-graphql/wp-graphql-jwt-authentication": "^0.7.0",
"wp-graphql/wp-graphql-testcase": "^3.2",
"wpackagist-plugin/woocommerce": "^9.3",
"wpackagist-plugin/woocommerce-gateway-stripe": "^8.8",
"wpackagist-plugin/wp-graphql": "^1.29",
"wpackagist-theme/twentytwentyone": "^2.3"
},
"config": {
"optimize-autoloader": true,
Expand All @@ -41,7 +58,8 @@
"allow-plugins": {
"johnpbloch/wordpress-core-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
"phpstan/extension-installer": true,
"composer/installers": true
}
},
"autoload": {
Expand Down Expand Up @@ -139,6 +157,18 @@
"post-merge": [
"composer install"
]
},
"wordpress-install-dir": "local/public",
"installer-paths": {
"local/public/wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
"local/public/wp-content/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"local/public/wp-content/themes/{$name}/": ["type:wordpress-theme"]
}
},
"repositories": {
"wpackagist": {
"type": "composer",
"url": "https://wpackagist.org"
}
}
}
Loading

0 comments on commit a785725

Please sign in to comment.