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

[CMSP-721] Ensure Behat tests are run on PHP 8.3 site environment #283

Merged
merged 18 commits into from
Nov 16, 2023

Conversation

jazzsequence
Copy link
Contributor

@jazzsequence jazzsequence commented Nov 8, 2023

This PR doesn't do much in itself. Most of the work of ensuring the Behat tests run on PHP 8.3 happen in the actual CI fixture site. However, there are a number of minor changes made here to ensure that the tests run correctly:

  • removes unused PHP Unit test job from .circleci/config.yml
  • bumps the tested-up-to to 6.4 to align with the updated fixture site
  • outputs the PHP version from terminus env:info to ensure we're testing on PHP 8.3
  • ignores a NewRelic error when validating the tested-up-to version (see LOPS-1909) fixed by https://github.com/pantheon-systems/infrastructure/pull/3574

@jazzsequence jazzsequence marked this pull request as ready for review November 9, 2023 16:30
@jazzsequence jazzsequence requested a review from a team as a code owner November 9, 2023 16:30
@jazzsequence jazzsequence changed the title [CMSP-721] [CMSP-721] Ensure Behat tests are run on PHP 8.3 site environment Nov 9, 2023
@jazzsequence jazzsequence self-assigned this Nov 9, 2023
this will be broken until pantheon-systems/infrastructure#3574 is merged, but then we can re-run and it should work
@rwagner00
Copy link
Contributor

I don't see anything here that looks related to New Relic, but I may be missing something. Approved with that note.

@jazzsequence jazzsequence merged commit 552d36c into develop Nov 16, 2023
9 checks passed
@jazzsequence jazzsequence deleted the cmsp-721 branch November 16, 2023 15:34
pwtyler pushed a commit that referenced this pull request Oct 28, 2024
* remove the run_test command
already moved to GitHub Actions

* update prepare and cleanup steps for php 8.3 tests

* add a separate php 8.3 test

* update main jobs

* remove non-existant --from-env

* circle ci has different run numbers
so we don't need to prefix the 8.3 tests with 83

* bump tested up to version

* just use a single test
and we'll assume we can multidev off master still

* allow nonfatal newrelic error

* send subshell errors to /dev/null

* pass true to continue

* use &1

* Ignore the newrelic error

* add PHP version to behat-prepare so we can be sure that we're on 8.3

* restore the env:create to the way it was originally

* move the quote

* bump tested up to to 6.4.1

* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants