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

[LOPS-2301] reconfigure the way environment lists its members #2584

Closed
wants to merge 23 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export PROJECT_PATH=$(realpath .)
export TERMINUS_SITE="terminus-test-site"
export TERMINUS_SITE="terminus-ci-site"
export TERMINUS_SITE_WP="terminus-test-site-wordpress"
export TERMINUS_SITE_WP_NETWORK="terminus-test-site-wp-network"
export TERMINUS_ENV="dev"
Expand Down
27 changes: 13 additions & 14 deletions .github/workflows/3x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ jobs:
name: Checkout & build Phar
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Save repo content as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: full-workspace
path: ${{ github.workspace }}
if-no-files-found: error
overwrite: true
- name: Full Composer Install
run: composer install
- name: Validate Code
Expand All @@ -40,11 +42,12 @@ jobs:
export PATH=~/box/vendor/bin:$PATH
composer phar:build
- name: Save terminus.phar as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: terminus-phar
path: terminus.phar
path: ${{ github.workspace }}/terminus.phar
if-no-files-found: error
overwrite: true

functional:
runs-on: ${{ matrix.operating-system }}
Expand Down Expand Up @@ -88,13 +91,15 @@ jobs:
coverage: pcov
ini-values: error_reporting=E_ALL
- name: Download repo content from artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: full-workspace
path: ${{ github.workspace }}
- name: Download terminus.phar as artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: terminus-phar
path: ${{ github.workspace }}
- name: Install Composer Dependencies
run: composer install --no-interaction --prefer-dist
- name: Setup tmate session
Expand All @@ -109,13 +114,6 @@ jobs:
- name: Functional Tests (arbitrary group)
if: ${{ github.event.inputs.functional_tests_group != '' && github.event.inputs.functional_tests_group != 'all' }}
run: composer test:group -- ${{ github.event.inputs.functional_tests_group }}
- name: Coverage Report
run: composer coverage
- name: Save coverage as artifact
uses: actions/upload-artifact@v3
with:
name: CoverageReport
path: docs/TestCoverage.md
- name: Finish sesssion
if: ${{ always() && github.event.inputs.tmate_enabled == 1 }}
run: |
Expand All @@ -134,9 +132,10 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/') && github.repository == 'pantheon-systems/terminus' }}
steps:
- name: Download terminus.phar as artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: terminus-phar
path: ${{ github.workspace }}
- name: Release
uses: softprops/action-gh-release@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion bin/terminus
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if (!getenv('TERMINUS_ALLOW_UNSUPPORTED_NEWER_PHP') && version_compare(PHP_VERSI

// This variable is automatically managed via updateDependenciesversion() in /RoboFile.php,
// which is run after every call to composer update.
$terminusPluginsDependenciesVersion = '1822f1ccac';
$terminusPluginsDependenciesVersion = '7a8c2a3b9c';

// Cannot use $_SERVER superglobal since that's empty during phpunit testing
// getenv('HOME') isn't set on Windows and generates a Notice.
Expand Down
Loading
Loading