|
5 | 5 | - main |
6 | 6 | pull_request: |
7 | 7 | paths: |
8 | | - - rust/** |
9 | | - - .github/workflows/rust-test.yml |
| 8 | + - crates/** |
10 | 9 | - Cargo.toml |
11 | 10 | - Cargo.lock |
| 11 | + - .github/workflows/rust-test.yml |
12 | 12 |
|
13 | 13 | concurrency: |
14 | 14 | group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} |
@@ -37,18 +37,18 @@ jobs: |
37 | 37 | rustup default ${{ matrix.toolchain }} |
38 | 38 | - uses: Swatinem/rust-cache@v2 |
39 | 39 | with: |
40 | | - workspaces: rust/lance-graph |
| 40 | + workspaces: crates/lance-graph |
41 | 41 | cache-targets: false |
42 | 42 | - name: Install dependencies |
43 | 43 | run: | |
44 | 44 | sudo apt update |
45 | 45 | sudo apt install -y protobuf-compiler |
46 | 46 | - name: Build tests |
47 | | - run: cargo test --manifest-path rust/lance-graph/Cargo.toml --no-run |
| 47 | + run: cargo test --manifest-path crates/lance-graph/Cargo.toml --no-run |
48 | 48 | - name: Run unit tests |
49 | | - run: cargo test --manifest-path rust/lance-graph/Cargo.toml --lib |
| 49 | + run: cargo test --manifest-path crates/lance-graph/Cargo.toml --lib |
50 | 50 | - name: Run doc tests |
51 | | - run: cargo test --manifest-path rust/lance-graph/Cargo.toml --doc |
| 51 | + run: cargo test --manifest-path crates/lance-graph/Cargo.toml --doc |
52 | 52 |
|
53 | 53 | test-with-coverage: |
54 | 54 | runs-on: ubuntu-24.04 |
|
61 | 61 | rustup default stable |
62 | 62 | - uses: Swatinem/rust-cache@v2 |
63 | 63 | with: |
64 | | - workspaces: rust/lance-graph |
| 64 | + workspaces: crates/lance-graph |
65 | 65 | cache-targets: false |
66 | 66 | - name: Install dependencies |
67 | 67 | run: | |
|
71 | 71 | uses: taiki-e/install-action@cargo-llvm-cov |
72 | 72 | - name: Run tests with coverage |
73 | 73 | run: | |
74 | | - cargo llvm-cov --manifest-path rust/lance-graph/Cargo.toml --lcov --output-path lcov.info |
| 74 | + cargo llvm-cov --manifest-path crates/lance-graph/Cargo.toml --lcov --output-path lcov.info |
75 | 75 | - name: Upload coverage to Codecov |
76 | 76 | uses: codecov/codecov-action@v4 |
77 | 77 | with: |
|
0 commit comments