From E2E PR #146. E2E was reverted because of catastrophic error as DDEV is not available initially in GitHub Runner:
$ ddev config global --instrumentation-opt-in=false
/bin/sh: 1: ddev: not found
error Command failed with exit code 127.
Start from here
|
private ddev(): void { |
|
log('Installing DDEV...'); |
|
const curl = this.spawnSync.call('curl', ['-fsSL', 'https://ddev.com/install.sh'], { stdout: 'pipe' }); |
|
const bashArgs: string[] = []; |
|
const ddevVersion = this.getDdevVersion(); |
|
if (ddevVersion) { |
|
bashArgs.push('-s'); |
|
bashArgs.push(ddevVersion); |
|
} |
|
this.spawnSync.call('bash', bashArgs, { stdin: 'pipe', input: curl.stdout }); |
|
} |
On an unrelated note, it looks like switch -s should not be here:
# Usage: install_ddev.sh or install_ddev.sh
From E2E PR #146. E2E was reverted because of catastrophic error as DDEV is not available initially in GitHub Runner:
Start from here
actions/packages/e2e-tests/src/Action.ts
Lines 93 to 103 in 83e571d
On an unrelated note, it looks like switch
-sshould not be here: