Skip to content

Commit 6be18e2

Browse files
committed
remove redundant CI benchmark check, cleanups
1 parent bc493d9 commit 6be18e2

File tree

3 files changed

+5
-47
lines changed

3 files changed

+5
-47
lines changed

.github/workflows/parquet.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -72,26 +72,17 @@ jobs:
7272
with:
7373
rust-version: stable
7474
- name: Check compilation
75-
run: |
76-
cargo check -p parquet
77-
- name: Check compilation --no-default-features
78-
run: |
79-
cargo check -p parquet --no-default-features
80-
- name: Check compilation --no-default-features --features arrow
81-
run: |
82-
cargo check -p parquet --no-default-features --features arrow
83-
- name: Check compilation --no-default-features --all-features
84-
run: |
85-
cargo check -p parquet --all-features
86-
- name: Check compilation --all-targets
8775
run: |
8876
cargo check -p parquet --all-targets
8977
- name: Check compilation --no-default-features --all-targets
9078
run: |
9179
cargo check -p parquet --no-default-features --all-targets
92-
- name: Check compilation --no-default-features --features-arrow --all-targets
80+
- name: Check compilation --no-default-features --features arrow --all-targets
9381
run: |
9482
cargo check -p parquet --no-default-features --features arrow --all-targets
83+
- name: Check compilation --all-features --all-targets
84+
run: |
85+
cargo check -p parquet --all-features --all-targets
9586
9687
clippy:
9788
name: Clippy

.github/workflows/rust.yml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -44,37 +44,10 @@ jobs:
4444
- name: Run tests
4545
shell: bash
4646
run: |
47-
export ARROW_TEST_DATA=$(pwd)/testing/data
48-
export PARQUET_TEST_DATA=$(pwd)/parquet-testing/data
4947
# do not produce debug symbols to keep memory usage down
5048
export RUSTFLAGS="-C debuginfo=0"
5149
cargo test
5250
53-
check_benches:
54-
name: Check Benchmarks (but don't run them)
55-
runs-on: ubuntu-latest
56-
strategy:
57-
matrix:
58-
arch: [ amd64 ]
59-
rust: [ stable ]
60-
container:
61-
image: ${{ matrix.arch }}/rust
62-
env:
63-
# Disable full debug symbol generation to speed up CI build and keep memory down
64-
# "1" means line tables only, which is useful for panic tracebacks.
65-
RUSTFLAGS: "-C debuginfo=1"
66-
steps:
67-
- uses: actions/checkout@v2
68-
with:
69-
submodules: true
70-
- name: Setup Rust toolchain
71-
uses: ./.github/actions/setup-builder
72-
with:
73-
rust-version: ${{ matrix.rust }}
74-
- name: Check benchmarks
75-
run: |
76-
cargo check --benches --workspace --features test_common,prettyprint,async,experimental
77-
7851
lint:
7952
name: Lint (cargo fmt)
8053
runs-on: ubuntu-latest
@@ -109,16 +82,9 @@ jobs:
10982
uses: actions/cache@v3
11083
with:
11184
path: /home/runner/.cargo
112-
# this key is not equal because the user is different than on a container (runner vs github)
11385
key: cargo-coverage-cache3-
11486
- name: Run coverage
11587
run: |
116-
export CARGO_HOME="/home/runner/.cargo"
117-
export CARGO_TARGET_DIR="/home/runner/target"
118-
119-
export ARROW_TEST_DATA=$(pwd)/testing/data
120-
export PARQUET_TEST_DATA=$(pwd)/parquet-testing/data
121-
12288
rustup toolchain install stable
12389
rustup default stable
12490
cargo install --version 0.18.2 cargo-tarpaulin

parquet/benches/arrow_reader.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,3 +692,4 @@ fn add_benches(c: &mut Criterion) {
692692

693693
criterion_group!(benches, add_benches);
694694
criterion_main!(benches);
695+

0 commit comments

Comments
 (0)