You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ne...@apache.org on 2022/07/31 22:10:19 UTC

[arrow-rs] 01/01: Check if llvm-cov will run on CI

This is an automated email from the ASF dual-hosted git repository.

nevime pushed a commit to branch llvm-cov
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git

commit 2a3d561c9e79381230ff9bf4d5670f4e549d5e74
Author: Wakahisa <ne...@gmail.com>
AuthorDate: Mon Aug 1 00:10:05 2022 +0200

    Check if llvm-cov will run on CI
---
 .github/workflows/rust.yml | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 8464a22b6..bd63efe02 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -76,24 +76,22 @@ jobs:
         arch: [ amd64 ]
         rust: [ stable ]
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
         with:
           submodules: true
       - name: Setup Rust toolchain
         run: |
-          rustup toolchain install ${{ matrix.rust }}
+          rustup toolchain install ${{ matrix.rust }} --component llvm-tools-preview
           rustup default ${{ matrix.rust }}
       - name: Cache Cargo
         uses: actions/cache@v3
         with:
           path: /home/runner/.cargo
           key: cargo-coverage-cache3-
+      - name: Install cargo-llvm-cov
+        uses: taiki-e/install-action@cargo-llvm-cov
       - name: Run coverage
-        run: |
-          rustup toolchain install stable
-          rustup default stable
-          cargo install --version 0.18.2 cargo-tarpaulin
-          cargo tarpaulin --all --out Xml
+        run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
       - name: Report coverage
         continue-on-error: true
         run: bash <(curl -s https://codecov.io/bash)