Skip to content

Apache DataFusion SQL Query Engine

Disable code coverage (#3679)

Andrew Lambc9b26cc962a7
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 3ec1bd2caf..937fad7f52 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -285,44 +285,47 @@ jobs:
echo '' > datafusion/proto/src/generated/datafusion.rs
ci/scripts/rust_fmt.sh
- coverage:
- name: coverage
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- with:
- submodules: true
- - name: Install protobuf compiler
- shell: bash
- run: |
- mkdir -p $HOME/d/protoc
- cd $HOME/d/protoc
- export PROTO_ZIP="protoc-21.4-linux-x86_64.zip"
- curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.4/$PROTO_ZIP
- unzip $PROTO_ZIP
- export PATH=$PATH:$HOME/d/protoc/bin
- protoc --version
- - name: Setup Rust toolchain
- run: |
- rustup toolchain install stable
- rustup default stable
- rustup component add rustfmt clippy
- - name: Cache Cargo
- uses: actions/cache@v3
- with:
- path: /home/runner/.cargo
- # this key is not equal because the user is different than on a container (runner vs github)
- key: cargo-coverage-cache3-
- - name: Run coverage
- run: |
- export PATH=$PATH:$HOME/d/protoc/bin
- rustup toolchain install stable
- rustup default stable
- cargo install --version 0.20.1 cargo-tarpaulin
- cargo tarpaulin --all --out Xml
- - name: Report coverage
- continue-on-error: true
- run: bash <(curl -s https://codecov.io/bash)
+ # Coverage job disabled due to
+ # https://github.com/apache/arrow-datafusion/issues/3678
+
+ # coverage:
+ # name: coverage
+ # runs-on: ubuntu-latest
+ # steps:
+ # - uses: actions/checkout@v3
+ # with:
+ # submodules: true
+ # - name: Install protobuf compiler
+ # shell: bash
+ # run: |
+ # mkdir -p $HOME/d/protoc
+ # cd $HOME/d/protoc
+ # export PROTO_ZIP="protoc-21.4-linux-x86_64.zip"
+ # curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.4/$PROTO_ZIP
+ # unzip $PROTO_ZIP
+ # export PATH=$PATH:$HOME/d/protoc/bin
+ # protoc --version
+ # - name: Setup Rust toolchain
+ # run: |
+ # rustup toolchain install stable
+ # rustup default stable
+ # rustup component add rustfmt clippy
+ # - name: Cache Cargo
+ # uses: actions/cache@v3
+ # with:
+ # path: /home/runner/.cargo
+ # # this key is not equal because the user is different than on a container (runner vs github)
+ # key: cargo-coverage-cache3-
+ # - name: Run coverage
+ # run: |
+ # export PATH=$PATH:$HOME/d/protoc/bin
+ # rustup toolchain install stable
+ # rustup default stable
+ # cargo install --version 0.20.1 cargo-tarpaulin
+ # cargo tarpaulin --all --out Xml
+ # - name: Report coverage
+ # continue-on-error: true
+ # run: bash <(curl -s https://codecov.io/bash)
clippy:
name: clippy