ci(ollama): add regression workflow
This commit is contained in:
27
.github/workflows/macos-check.yml
vendored
27
.github/workflows/macos-check.yml
vendored
@@ -32,3 +32,30 @@ jobs:
|
||||
|
||||
- name: Cargo check
|
||||
run: cargo check --workspace --all-features
|
||||
|
||||
ollama_regression:
|
||||
name: ollama provider regression
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Cache Cargo registry
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-cargo-
|
||||
|
||||
- name: Run Ollama integration tests
|
||||
run: cargo test -p owlen-core --test ollama_wiremock
|
||||
|
||||
- name: Run streaming/tool flow tests
|
||||
run: cargo test -p owlen-core --test agent_tool_flow
|
||||
|
||||
Reference in New Issue
Block a user