Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(run): fix run status code and use https (#1351)
- Loading branch information
Showing
8 changed files
with
50 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/usr/bin/env node | ||
|
||
const os = require('os') | ||
const { spawn } = require('child_process') | ||
const {spawn} = require('child_process') | ||
|
||
if (os.platform() === 'win32' || os.platform() === 'windows') console.log('skipping on windows') | ||
else spawn('npx bats test/integration/*.bats', { stdio: 'inherit', shell: true }) | ||
else spawn('npx bats test/integration/*.bats', {stdio: 'inherit', shell: true}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env node | ||
|
||
const os = require('os') | ||
const {spawn} = require('child_process') | ||
|
||
if (os.platform() === 'win32' || os.platform() === 'windows') console.log('skipping on windows') | ||
else spawn('npx bats test/integration/*.bats', {stdio: 'inherit', shell: true}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@test "run with shield app" { | ||
run ./bin/run run -a heroku-run-shield-test-app echo '1 2 3' | ||
echo $output | ||
[ "$status" -eq 0 ] | ||
[[ "$output" =~ "1 2 3" ]] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
--watch-extensions ts | ||
--recursive | ||
--reporter spec | ||
--timeout 60000 | ||
--timeout 180000 |