Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,38 @@ jobs:
alert-title: "Rust tests (linux-arm64) failed on develop"
deduplication-key: ci-rust-test-linux-arm64-failure

btrblocks-golden:
name: "Rust (btrblocks golden corpus)"
timeout-minutes: 10
runs-on: >-
${{ github.repository == 'vortex-data/vortex'
&& format('runs-on={0}/runner=amd64-medium/image=ubuntu24-full-x64-pre-v2/extras=s3-cache/tag=btrblocks-golden', github.run_id)
|| 'ubuntu-latest' }}
steps:
- uses: runs-on/action@v2
if: github.repository == 'vortex-data/vortex'
with:
sccache: s3
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: ./.github/actions/setup-prebuild
with:
enable-sccache: "true"
# The golden suite pins the compressor's decisions per feature variant, and the
# variants are mutually exclusive at compile time: the `default` variant only exists
# without `unstable_encodings` (which changes ALL_SCHEMES), so the `--all-features`
# workspace test jobs cannot run it. Run each feature combination explicitly.
- name: Golden corpus (default features)
run: |
cargo nextest run --cargo-profile ci --locked --no-fail-fast -p vortex-btrblocks --test golden
- name: Golden corpus (unstable_encodings)
run: |
cargo nextest run --cargo-profile ci --locked --no-fail-fast -p vortex-btrblocks --test golden \
--features unstable_encodings
- name: Golden corpus (compact, unstable_encodings + zstd + pco)
run: |
cargo nextest run --cargo-profile ci --locked --no-fail-fast -p vortex-btrblocks --test golden \
--features unstable_encodings,zstd,pco

build-java:
name: "Java"
runs-on: >-
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vortex-btrblocks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ vortex-zstd = { workspace = true, optional = true }

[dev-dependencies]
divan = { workspace = true }
insta = { workspace = true }
rstest = { workspace = true }
test-with = { workspace = true }
vortex-array = { workspace = true, features = ["_test-harness"] }
Expand Down
7 changes: 7 additions & 0 deletions vortex-btrblocks/REUSE.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version = 1

# `insta` snapshot files do not allow leading comment lines.
[[annotations]]
path = "tests/snapshots/**.snap"
SPDX-FileCopyrightText = "Copyright the Vortex contributors"
SPDX-License-Identifier = "Apache-2.0"
Loading
Loading