Skip to content

Commit

Permalink
chore: back to tarpaulin
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Jul 15, 2024
1 parent 5f38d17 commit dac7642
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/rust-cubesql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,13 @@ jobs:
# default key
key: cubesql-x86_64-unknown-linux-gnu
shared-key: cubesql-x86_64-unknown-linux-gnu
# Disable: cargo-llvm-cov is too slow
# - name: Install [email protected]
# uses: baptiste0928/cargo-install@v3
# with:
# crate: cargo-llvm-cov
# version: "0.6.10"
- name: Install strace
run: apt update && apt install -y strace
- name: Install [email protected]
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-tarpaulin
version: "0.29.2"
- name: Unit tests (Rewrite Engine)
env:
CUBESQL_TESTING_CUBE_TOKEN: ${{ secrets.CUBESQL_TESTING_CUBE_TOKEN }}
Expand All @@ -91,16 +92,14 @@ jobs:
CUBESQL_REWRITE_TIMEOUT: 60
run: |
cd rust/cubesql
cargo test -- --test-threads=1
# Disable: cargo-llvm-cov is too slow
# 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
cargo tarpaulin --workspace --no-fail-fast --avoid-cfg-tarpaulin --out Xml
# - name: Upload code coverage
# uses: codecov/codecov-action@v3
# with:
# files: ./rust/cubesql/cobertura.xml
# verbose: true
# flags: cubesql
# fail_ci_if_error: false

native_linux:
needs: [lint]
Expand Down

0 comments on commit dac7642

Please sign in to comment.