Skip to content

Commit

Permalink
[CMSP-721] Ensure that Behat tests run on PHP 8.3 (#138)
Browse files Browse the repository at this point in the history
* bump tested up to version

* some variable cleanup

* echo the php version
so we know we're on the right one

* ignore the newrelic error

* fix readme.md spacing

* use the right terminus command

* return FIXTURE_VERSION to what it was originally
this will be broken until pantheon-systems/infrastructure#3574 is merged, but then we can re-run and it should work

* remove comment
  • Loading branch information
jazzsequence authored Nov 16, 2023
1 parent 9d2d09f commit 5d6184c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Pantheon HUD #
**Contributors:** [getpantheon](https://profiles.wordpress.org/getpantheon/), [danielbachhuber](https://profiles.wordpress.org/danielbachhuber/), [jspellman](https://profiles.wordpress.org/jspellman/), [jazzs3quence](https://profiles.wordpress.org/jazzs3quence)
**Contributors:** [getpantheon](https://profiles.wordpress.org/getpantheon/), [danielbachhuber](https://profiles.wordpress.org/danielbachhuber/), [jspellman](https://profiles.wordpress.org/jspellman/), [jazzs3quence](https://profiles.wordpress.org/jazzs3quence)
**Tags:** Pantheon, hosting, environment-indicator
**Requires at least:** 4.9
**Tested up to:** 6.3.1
**Tested up to:** 6.4.1
**Stable tag:** 0.4.4-dev
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
Expand Down
7 changes: 5 additions & 2 deletions bin/behat-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ fi
###
# Create a new environment for this particular test run.
###
terminus env:create $TERMINUS_SITE.dev $TERMINUS_ENV
terminus env:wipe $SITE_ENV --yes
terminus env:create "${TERMINUS_SITE}.dev" "$TERMINUS_ENV"
terminus env:wipe "$SITE_ENV" --yes

###
# Get all necessary environment details.
Expand All @@ -50,6 +50,9 @@ PANTHEON_SITE_URL="$TERMINUS_ENV-$TERMINUS_SITE.pantheonsite.io"
PREPARE_DIR="/tmp/$TERMINUS_ENV-$TERMINUS_SITE"
BASH_DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

PHP_VERSION="$(terminus env:info $SITE_ENV --field=php_version)"
echo "PHP Version: $PHP_VERSION"

###
# Switch to git mode for pushing the files up
###
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: getpantheon, danielbachhuber, jazzs3quence, jspellman
Tags: Pantheon, hosting, environment-indicator
Requires at least: 4.9
Tested up to: 6.3.1
Tested up to: 6.4.1
Stable tag: 0.4.4-dev
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down

0 comments on commit 5d6184c

Please sign in to comment.