mirror of
https://github.com/katanemo/plano.git
synced 2026-04-26 01:06:25 +02:00
* adding canonical tracing support via bright-staff * improved formatting for tools in the traces * removing anthropic from the currency exchange demo * using Envoy to transport traces, not calling OTEL directly * moving otel collcetor cluster outside tracing if/else * minor fixes to not write to the OTEL collector if tracing is disabled * fixed PR comments and added more trace attributes * more fixes based on PR comments * more clean up based on PR comments --------- Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-342.local>
34 lines
805 B
YAML
34 lines
805 B
YAML
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 1.82 --profile minimal
|
|
|
|
- name: Setup | Install wasm toolchain
|
|
run: rustup target add wasm32-wasip1
|
|
|
|
- name: Build wasm module
|
|
run: |
|
|
cargo build --release --target=wasm32-wasip1 -p llm_gateway -p prompt_gateway
|
|
|
|
- name: Run unit tests
|
|
run: cargo test --lib
|
|
|
|
- name: Run trace integration tests
|
|
run: cargo test -p common --features trace-collection traces::tests::trace_integration_test
|