diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 8ab01aa..9e511a4 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -54,18 +54,18 @@ jobs: # fails if command succeeds ! layerform config use-context test-does-not-exist # context does not exist - # switch context to test-local - layerform config use-context test-local - layerform config get-contexts | tee usecontext - grep -E '^\*\s+test-local' usecontext - ! grep -E '^\*\s+test-s3' usecontext - # switch context to test-s3 layerform config use-context test-s3 layerform config get-contexts | tee usecontext ! grep -E '^\*\s+test-local' usecontext grep -E '^\*\s+test-s3' usecontext + # switch context to test-local + layerform config use-context test-local + layerform config get-contexts | tee usecontext + grep -E '^\*\s+test-local' usecontext + ! grep -E '^\*\s+test-s3' usecontext + - name: Configure run: | layerform configure --file examples/local/layerform.json