Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Enable Trunk Quarantine for general backend tests (#65128)

Nemanja Glumac6c6b702b2968
diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index ecea4d4bace..3d42f79809a 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -129,6 +129,11 @@ jobs:
clojure -X:dev:ci:test:${{ matrix.job.edition }}:${{ matrix.job.edition }}-dev
:exclude-tags '[:mb/driver-tests ${{ env.__ADDITIONAL_EXCLUDED_TAG__ }}]'
${{ matrix.job.test-args }}
+ # Trunk Quarantine controls the final state of the run in the CI!
+ # Even if this step fails, we let it pass and then `trunk-io/analytics-uploader` determines whether to fail or to
+ # pass the whole job, based on the quarantine list.
+ # We only want to "continue on error" (ignore failures) when the Trunk upload is active - i.e. not on drafts!
+ continue-on-error: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.draft == true) }}
- name: Upload Test Results
uses: ./.github/actions/upload-test-results