The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Fix logs upload for drivers (#65257)
Nemanja Glumac9b53db936ecf
diff --git a/.github/actions/test-driver/action.yml b/.github/actions/test-driver/action.ymlindex 94afa18a5c1..38af70ff6a8 100644--- a/.github/actions/test-driver/action.yml+++ b/.github/actions/test-driver/action.yml@@ -35,7 +35,10 @@ runs:continue-on-error: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.draft == true) }}- name: Publish Test Report (JUnit)uses: dorny/test-reporter@v1- if: ${{ steps.run-test.outcome == 'failure' }}+ # As per the documentation: https://docs.github.com/en/actions/reference/workflows-and-actions/contexts#steps-context+ # test.outcome gives us access to the result before `continue-on-error` overrides it and sets it to 'success'.+ # We want test reports even if the test step gets cancelled (e.g. times out), hence we match anything that is not a 'success'.+ if: steps.run-test.outcome != 'success'with:path: "target/junit/**/*_test.xml"name: JUnit Test Report ${{ inputs.junit-name }}@@ -44,7 +47,7 @@ runs:list-tests: failedfail-on-error: false- name: Upload Logs on Failure- if: ${{ steps.run-test.outcome == 'failure' }}+ if: always() && steps.run-test.outcome != 'success'uses: actions/upload-artifact@v4with:name: test-logs-${{ github.job }}