@@ -44,37 +44,10 @@ jobs:
44
44
- name : Run tests
45
45
shell : bash
46
46
run : |
47
- export ARROW_TEST_DATA=$(pwd)/testing/data
48
- export PARQUET_TEST_DATA=$(pwd)/parquet-testing/data
49
47
# do not produce debug symbols to keep memory usage down
50
48
export RUSTFLAGS="-C debuginfo=0"
51
49
cargo test
52
50
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
-
78
51
lint :
79
52
name : Lint (cargo fmt)
80
53
runs-on : ubuntu-latest
@@ -109,16 +82,9 @@ jobs:
109
82
uses : actions/cache@v3
110
83
with :
111
84
path : /home/runner/.cargo
112
- # this key is not equal because the user is different than on a container (runner vs github)
113
85
key : cargo-coverage-cache3-
114
86
- name : Run coverage
115
87
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
-
122
88
rustup toolchain install stable
123
89
rustup default stable
124
90
cargo install --version 0.18.2 cargo-tarpaulin
0 commit comments