mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 08:46:24 +02:00
* update rust to 1.82 pin it, also update envoy to 1.32 and python to 3.13 * use python:3.12
33 lines
698 B
YAML
33 lines
698 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
|
|
|
|
- name: Run unit tests
|
|
run: cargo test --lib
|
|
|
|
- name: Run integration tests
|
|
run: cargo test --test integration
|