mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 16:56:24 +02:00
Add support for streaming and fixes few issues (see description) (#202)
This commit is contained in:
parent
29ff8da60f
commit
662a840ac5
45 changed files with 2266 additions and 477 deletions
33
.github/workflows/rust_tests.yml
vendored
Normal file
33
.github/workflows/rust_tests.yml
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
name: rust tests (prompt and llm gateway)
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./crates
|
||||
|
||||
steps:
|
||||
- name: Setup | Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup | Rust
|
||||
run: rustup toolchain install stable --profile minimal
|
||||
|
||||
- name: Setup | Install wasm toolchain
|
||||
run: rustup target add wasm32-wasi
|
||||
|
||||
- name: Build wasm module
|
||||
run: cargo build --release --target=wasm32-wasi
|
||||
|
||||
- name: Run unit tests
|
||||
run: cargo test --lib
|
||||
|
||||
- name: Run integration tests
|
||||
run: cargo test --test integration
|
||||
Loading…
Add table
Add a link
Reference in a new issue