Skip to content

Detect execution errors earlier, avoiding the unhelpful "attempting to execute an unsuccessful or closed pending query result" errors #34

Detect execution errors earlier, avoiding the unhelpful "attempting to execute an unsuccessful or closed pending query result" errors

Detect execution errors earlier, avoiding the unhelpful "attempting to execute an unsuccessful or closed pending query result" errors #34

Workflow file for this run

name: Tests and builds on PR
on:
pull_request:
branches:
- main
- v*.*-*
types: [opened, reopened, ready_for_review, converted_to_draft, synchronize]
paths-ignore:
- '**.md'
- 'LICENSE'
- '.editorconfig'
- 'scripts/**'
- '.github//**'
- '!.github/workflows/on_push.yml'
- '!.github/workflows/coverage.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
submodule_sanity_guard:
name: Make sure submodule is in a sane state
uses: ./.github/workflows/submodule_sanity.yml
packaging_test:
name: Build a minimal set of packages and run all tests on them
needs: submodule_sanity_guard
# Skip packaging tests for draft PRs
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }}
uses: ./.github/workflows/packaging.yml
with:
minimal: true
testsuite: all
duckdb-sha: ${{ github.base_ref }}
coverage_test:
name: Run coverage tests
needs: submodule_sanity_guard
# Only run coverage test for draft PRs
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.draft == true }}
uses: ./.github/workflows/coverage.yml
with:
duckdb_git_ref: ${{ github.base_ref }}
testsuite: all