Skip to content

Commit 2c69038

Browse files
axonasifsagor999
authored andcommitted
handle job control properly for python test
1 parent 2a354e9 commit 2c69038

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lang-python.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
- status == 0
6161

6262
- desc: "VSCode Python settings are correctly applied"
63-
entrypoint: [sh, -c]
64-
command: [export GITPOD_REPO_ROOT=/workspace/test; for sj in "$HOME/.vscode-server/data/Machine/settings.json" "/workspace/.vscode-remote/data/Machine/settings.json"; do mkdir -p $(dirname "$sj") "$GITPOD_REPO_ROOT" && touch "$sj" && bash -lic 'true' && if ! grep -q 'python' "$sj"; then exit 1; fi; done]
63+
entrypoint: [env, GITPOD_REPO_ROOT=/workspace/test, bash, -lic]
64+
command: [rm /tmp/.vscs_add.lock; for sj in "$HOME/.vscode-server/data/Machine/settings.json" "/workspace/.vscode-remote/data/Machine/settings.json"; do mkdir -p $(dirname "$sj") "$GITPOD_REPO_ROOT" && touch "$sj" && bash -lic 'true' && if ! grep -q 'python' "$sj"; then exit 1; fi; done]
6565
assert:
6666
- status == 0

0 commit comments

Comments
 (0)