Skip to content

Commit c0a9a83

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

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

.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

0 commit comments

Comments
 (0)