Skip to content

Commit 50c785c

Browse files
rfayclaude
andcommitted
ci: fix bash -c quoting — use single quotes to avoid double-quote collision for #71 (Phase 4)
Double quotes in the YAML run block conflicted with bash -c "...", causing bash: -c: option requires an argument. Single quotes avoid the collision; \${{ }} expressions are expanded by GitHub Actions before the shell runs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent bc036b2 commit 50c785c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/integration-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,14 @@ jobs:
142142

143143
- name: Verify workspace — DDEV can start a project
144144
run: |
145-
coder ssh ${{ env.WORKSPACE_NAME }} -- env CI=${{ env.CI }} DDEV_NONINTERACTIVE=${{ env.DDEV_NONINTERACTIVE }} bash -c "
146-
TESTDIR=/tmp/ci-ddev-${{ github.run_id }} && mkdir -p \$TESTDIR && cd \$TESTDIR &&
145+
coder ssh ${{ env.WORKSPACE_NAME }} -- env CI=${{ env.CI }} DDEV_NONINTERACTIVE=${{ env.DDEV_NONINTERACTIVE }} bash -c '
146+
TESTDIR=/tmp/ci-ddev-${{ github.run_id }} && mkdir -p $TESTDIR && cd $TESTDIR &&
147147
ddev config --project-type=php --docroot=web &&
148148
ddev start -y &&
149149
ddev stop &&
150150
ddev delete --omit-snapshot -y &&
151-
rm -rf \$TESTDIR
152-
"
151+
rm -rf $TESTDIR
152+
'
153153
154154
- name: Delete workspace
155155
if: always()

0 commit comments

Comments
 (0)