Skip to content

Commit 630fb3d

Browse files
v1.4.3 updated i18n_resources
1 parent 40198b0 commit 630fb3d

2 files changed

Lines changed: 24 additions & 20 deletions

File tree

bin/buildAndDeploy.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ def runTests() -> None:
6767
subprocess.run(go_vet, check=True)
6868
go_test = ['go', 'test'] + clean_mods
6969
print(f'[turquoise2]Running: go test $(go list ./... | grep -v "fixtures" | grep -v "vendor")')
70-
subprocess.run(go_test, check=True)
70+
try:
71+
subprocess.run(go_test, check=True)
72+
except subprocess.CalledProcessError as e:
73+
print(f"[red]Unit tests failed")
74+
sys.exit(e.returncode)
7175
go_sec = ['gosec', '-exclude-dir=fixture', '-exclude-dir=plugin/resources', '-quiet', './...']
7276
# Not using the 'real' command because this is more copy/pasteable.
7377
print('[turquoise2]Running: ' + " ".join(go_sec))

plugin/resources/i18n_resources.go

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)