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

Adding helper for code studio environment detection. #62

Merged
merged 1 commit into from
Feb 27, 2023
Merged

Adding helper for code studio environment detection. #62

merged 1 commit into from
Feb 27, 2023

Conversation

joshirohit100
Copy link
Contributor

Fixes #61

@coveralls
Copy link

coveralls commented Feb 26, 2023

Pull Request Test Coverage Report for Build 4274069033

  • 0 of 30 (0.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 0.0%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/AcquiaDrupalEnvironmentDetector.php 0 3 0.0%
tests/EnvironmentDetectorTest.php 0 27 0.0%
Totals Coverage Status
Change from base Build 4109177526: 0.0%
Covered Lines: 0
Relevant Lines: 108

💛 - Coveralls

* Is this a Code Studio environment.
*/
public static function isCodeStudioEnv(): bool {
$gitlab_job_id = getenv('CI_JOB_ID');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danepowell
Copy link
Contributor

Thanks!

@danepowell danepowell merged commit e68db60 into acquia:master Feb 27, 2023
@danepowell danepowell added the enhancement New feature or request label Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BLT-5204: Add support to detect if code studio environment
3 participants