-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|
@@ -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] | ||
|