run e2e tests on multiple version of python #474
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |