Skip to content

Commit 8431e6e

Browse files
committed
Fix CI not setting the job as failed when connector validation finds violations
1 parent ff87aec commit 8431e6e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ jobs:
4747
run: |
4848
source ./.venv/bin/activate
4949
python -m connector_packager.package --validate-only $GITHUB_WORKSPACE/cratedb-tableau-connector/cratedb_jdbc
50+
51+
cat packaging_logs.txt
52+
53+
# If validation fails, stop the job.
54+
grep 'Validation succeeded' packaging_logs.txt
5055
5156
- name: Build connector
5257
if: ${{ github.event_name == 'release' }}

0 commit comments

Comments
 (0)