diff options
author | Marvin Borner | 2020-07-18 20:52:31 +0200 |
---|---|---|
committer | Marvin Borner | 2020-07-18 20:52:31 +0200 |
commit | af611a4eb21e998a06af79ecfa9f6898a2c7c55f (patch) | |
tree | 37abe1179af3362d62464cf886e5be1dc9781bf6 /run | |
parent | 5ad4683e2e59ea1d00558945872089bebea1c2b1 (diff) |
Added testing to github
Diffstat (limited to 'run')
-rwxr-xr-x | run | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,6 +6,9 @@ if grep -q "DEBUG=1" .env; then deno test "${ARGS[@]}" test/ && echo "Tests succeeded!" && deno run "${ARGS[@]}" src/main.ts +elif grep -q "DEBUG=2" .env; then + deno test "${ARGS[@]}" test/ && + echo "Tests succeeded!" else deno run "${ARGS[@]}" src/main.ts fi |