-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 880 Bytes
/
Copy pathci.yml
File metadata and controls
38 lines (30 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: CI
on:
pull_request:
push:
branches:
- master
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: Swatinem/rust-cache@v2
- name: Run CLI integration tests
run: cargo test -p llmx-mcp --no-default-features --features cli,treesitter,mcp --test cli_tests -- --nocapture
- name: Compile MCP tests
run: cargo test -p llmx-mcp --no-default-features --features treesitter,mcp --test mcp_tests --no-run
- name: Check crate package contents
run: cargo package -p llmx-mcp --allow-dirty --list