@@ -47,36 +47,10 @@ jobs:
47
47
- name : Run tests
48
48
shell : bash
49
49
run : |
50
- export ARROW_TEST_DATA=$(pwd)/testing/data
51
- export PARQUET_TEST_DATA=$(pwd)/parquet-testing/data
52
50
# do not produce debug symbols to keep memory usage down
53
51
export RUSTFLAGS="-C debuginfo=0"
54
52
cargo test
55
53
56
- check_benches :
57
- name : Check Benchmarks (but don't run them)
58
- runs-on : ubuntu-latest
59
- strategy :
60
- matrix :
61
- arch : [ amd64 ]
62
- rust : [ stable ]
63
- container :
64
- image : ${{ matrix.arch }}/rust
65
- env :
66
- # Disable full debug symbol generation to speed up CI build and keep memory down
67
- # "1" means line tables only, which is useful for panic tracebacks.
68
- RUSTFLAGS : " -C debuginfo=1"
69
- steps :
70
- - uses : actions/checkout@v2
71
- with :
72
- submodules : true
73
- - name : Setup Rust toolchain
74
- uses : ./.github/actions/setup-builder
75
- with :
76
- rust-version : ${{ matrix.rust }}
77
- - name : Check benchmarks
78
- run : |
79
- cargo check --benches --workspace --features test_common,prettyprint,async,experimental
80
54
81
55
# Run cargo fmt for all crates
82
56
lint :
@@ -113,16 +87,9 @@ jobs:
113
87
uses : actions/cache@v3
114
88
with :
115
89
path : /home/runner/.cargo
116
- # this key is not equal because the user is different than on a container (runner vs github)
117
90
key : cargo-coverage-cache3-
118
91
- name : Run coverage
119
92
run : |
120
- export CARGO_HOME="/home/runner/.cargo"
121
- export CARGO_TARGET_DIR="/home/runner/target"
122
-
123
- export ARROW_TEST_DATA=$(pwd)/testing/data
124
- export PARQUET_TEST_DATA=$(pwd)/parquet-testing/data
125
-
126
93
rustup toolchain install stable
127
94
rustup default stable
128
95
cargo install --version 0.18.2 cargo-tarpaulin
0 commit comments