Skip to content

Commit

Permalink
chore: return back llvm-cov
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Jul 15, 2024
1 parent 9927355 commit 30973e9
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/rust-cubesql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,28 @@ jobs:
run: |
# ubuntu 24.04 has lld-18
sudo apt-get update && sudo apt install -y lld
- name: Install [email protected]
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-llvm-cov
version: "0.6.10"
- name: Unit tests (Rewrite Engine)
env:
CUBESQL_TESTING_CUBE_TOKEN: ${{ secrets.CUBESQL_TESTING_CUBE_TOKEN }}
CUBESQL_TESTING_CUBE_URL: ${{ secrets.CUBESQL_TESTING_CUBE_URL }}
CUBESQL_SQL_PUSH_DOWN: true
CUBESQL_REWRITE_CACHE: true
CUBESQL_REWRITE_TIMEOUT: 60
run: cd rust/cubesql && cargo test
run: |
cd rust/cubesql
cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Upload code coverage
uses: codecov/codecov-action@v3
with:
files: ./rust/cubesql/lcov.info
verbose: true
flags: cubesql
fail_ci_if_error: false

native_linux:
needs: [lint]
Expand Down

0 comments on commit 30973e9

Please sign in to comment.