From f4a4efb05adc278c32ce61b1e0b1c7154c73f466 Mon Sep 17 00:00:00 2001 From: Bruce Ritchie Date: Sun, 12 Jan 2025 22:19:24 +0000 Subject: [PATCH] Add sqlite sqllogictest run to extended.yml for running sqlite test suite against every push to main. --- .github/workflows/extended.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/workflows/extended.yml b/.github/workflows/extended.yml index 39efb7a84517..b98e0a1740cb 100644 --- a/.github/workflows/extended.yml +++ b/.github/workflows/extended.yml @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. -name: Rust Hash Collisions +name: Datafusion extended tests concurrency: group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }} @@ -24,8 +24,8 @@ concurrency: # https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#running-your-pull_request-workflow-when-a-pull-request-merges # # this job is intended to only run only on the main branch as it is time consuming -# and very rarely fails. However, it is important coverage to ensure correctness -# in the (very rare) event of a hash failure. +# and should not fail often. However, it is important coverage to ensure correctness +# in the (very rare) event of a hash failure or sqlite query failure. on: # Run on all commits to main push: @@ -52,3 +52,19 @@ jobs: run: | cd datafusion cargo test --profile ci --exclude datafusion-examples --exclude datafusion-benchmarks --exclude datafusion-sqllogictest --workspace --lib --tests --features=force_hash_collisions,avro + sqllogictest-sqlite: + name: "Run sqllogictests with the sqlite test suite" + runs-on: ubuntu-latest + container: + image: amd64/rust + steps: + - uses: actions/checkout@v4 + with: + submodules: true + fetch-depth: 1 + - name: Setup Rust toolchain + uses: ./.github/actions/setup-builder + with: + rust-version: stable + - name: Run sqllogictest + run: cargo test --profile release-nonlto --test sqllogictests -- --include-sqlite