Skip to content

Commit

Permalink
Merge pull request #465 from newfold-labs/release/2.7.0
Browse files Browse the repository at this point in the history
Release/2.7.0
  • Loading branch information
circlecube authored Feb 28, 2024
2 parents b5f77cb + 5fc8277 commit 5367032
Show file tree
Hide file tree
Showing 17 changed files with 2,071 additions and 1,663 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/cypress-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ jobs:
fail-fast: false
matrix:
phpVersion:
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
- '8.2'
- '8.3'
wpVersion:
- '6.2'
- '6.3'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress-tests-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:

- name: Run Cypress Tests
if: ${{ github.repository == 'newfold-labs/wp-plugin-hostgator' }}
run: npm run test:e2e -- --browser chrome --tag "hostgator, wp-beta"
run: npm run test:e2e -- --browser chrome

- name: Store screenshots of test failures
if: failure()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
run: echo '{"config":{"WP_DEBUG_DISPLAY":false},"plugins":["${{ steps.workflow.outputs.DIST }}/${{ steps.workflow.outputs.PACKAGE }}"]}' > .wp-env.override.json

- name: Install WordPress
run: npx @wordpress/env@latest start
run: npx wp-env start --debug

- name: Run Cypress Tests
if: ${{ github.repository != 'newfold-labs/wp-plugin-hostgator' || github.actor == 'dependabot[bot]' }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

# Cypress
cypress.env.json
/tests/cypress/downloads
/tests/cypress/screenshots
/tests/cypress/videos

Expand Down
11 changes: 7 additions & 4 deletions .wp-env.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@
"plugins": [
"."
],
"port": 8880,
"testsPort": 8881,
"themes": [
"https://downloads.wordpress.org/theme/yith-wonder.latest-stable.zip"
],
"port": 8884,
"testsPort": 8885,
"env": {
"tests": {
"config": {
"WP_SITEURL": "localhost:8881",
"WP_TESTS_DOMAIN": "localhost:8881",
"WP_SITEURL": "localhost:8885",
"WP_TESTS_DOMAIN": "localhost:8885",
"WP_TESTS_TITLE": "HostGator WordPress Plugin",
"WP_TESTS_BINARY": "php"
}
Expand Down
23 changes: 12 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "7.1.0"
"php": "7.3.0"
},
"platform-check": false,
"allow-plugins": {
Expand Down Expand Up @@ -67,22 +67,23 @@
"require": {
"doctrine/inflector": "1.4.4 as 1.3.1",
"newfold-labs/wp-module-coming-soon": "^1.2.0",
"newfold-labs/wp-module-context": "^1.0",
"newfold-labs/wp-module-data": "^2.4.18",
"newfold-labs/wp-module-deactivation": "^1.0.4",
"newfold-labs/wp-module-ecommerce": "^v1.3.21",
"newfold-labs/wp-module-global-ctb": "^1.0.10",
"newfold-labs/wp-module-deactivation": "^1.0.5",
"newfold-labs/wp-module-ecommerce": "^1.3.23",
"newfold-labs/wp-module-global-ctb": "^1.0.11",
"newfold-labs/wp-module-help-center": "^1.0.23",
"newfold-labs/wp-module-loader": "^1.0.10",
"newfold-labs/wp-module-marketplace": "^2.2.1",
"newfold-labs/wp-module-notifications": "^1.2.3",
"newfold-labs/wp-module-onboarding": "^1.12.1",
"newfold-labs/wp-module-patterns": "^0.1.13",
"newfold-labs/wp-module-performance": "^1.3.0",
"newfold-labs/wp-module-marketplace": "^2.2.4",
"newfold-labs/wp-module-notifications": "^1.2.5",
"newfold-labs/wp-module-onboarding": "^2.1.4",
"newfold-labs/wp-module-patterns": "^0.1.14",
"newfold-labs/wp-module-performance": "^1.4.0",
"newfold-labs/wp-module-runtime": "^1.0.9",
"newfold-labs/wp-module-secure-passwords": "^1.1.1",
"newfold-labs/wp-module-sso": "^1.0.4",
"newfold-labs/wp-module-staging": "^1.2.3",
"wp-forge/wp-update-handler": "^1.0",
"newfold-labs/wp-module-staging": "^1.3.0",
"wp-forge/wp-update-handler": "^1.0.2",
"wp-forge/wp-upgrade-handler": "^1.0"
}
}
Loading

0 comments on commit 5367032

Please sign in to comment.