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:18 UTC

[arrow-rs] branch llvm-cov created (now 2a3d561c9)

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

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


      at 2a3d561c9 Check if llvm-cov will run on CI

This branch includes the following new commits:

     new 2a3d561c9 Check if llvm-cov will run on CI

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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

Posted by ne...@apache.org.
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)