Skip to content

Commit

Permalink
chore: use host
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Jul 15, 2024
1 parent dac7642 commit 412fdad
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/rust-cubesql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,10 @@ jobs:
# run: cd rust/cubesql && cargo clippy -- -D warnings

unit:
runs-on: ubuntu-24.04
# We don't use cross image, because CI works super slow
runs-on: ubuntu-20.04
timeout-minutes: 60
name: Unit (Rewrite Engine)
container:
image: cubejs/rust-cross:x86_64-unknown-linux-gnu-15082024

steps:
- name: Checkout
Expand All @@ -76,13 +75,10 @@ jobs:
# default key
key: cubesql-x86_64-unknown-linux-gnu
shared-key: cubesql-x86_64-unknown-linux-gnu
- name: Install strace
run: apt update && apt install -y strace
- name: Install [email protected]
uses: baptiste0928/cargo-install@v3
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
crate: cargo-tarpaulin
version: "0.29.2"
version: "18.1.6"
- name: Unit tests (Rewrite Engine)
env:
CUBESQL_TESTING_CUBE_TOKEN: ${{ secrets.CUBESQL_TESTING_CUBE_TOKEN }}
Expand All @@ -92,14 +88,7 @@ jobs:
CUBESQL_REWRITE_TIMEOUT: 60
run: |
cd rust/cubesql
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
cargo test
native_linux:
needs: [lint]
Expand Down

0 comments on commit 412fdad

Please sign in to comment.