sourcegraph/cmd/syntactic-code-intel-worker/image_test.yaml

22 lines
456 B
YAML

schemaVersion: "2.0.0"
commandTests:
- name: "worker binary is runnable"
command: "/syntactic-code-intel-worker"
envVars:
- key: "SANITY_CHECK"
value: "true"
- name: "scip-syntax binary is runnable"
command: "/usr/local/bin/scip-syntax"
envVars:
- key: "SANITY_CHECK"
value: "true"
- name: "not running as root"
command: "/usr/bin/id"
args:
- -u
excludedOutput: ["^0"]
exitCode: 0