Refactor model server hardware config + add unit tests to load/request to the server #565
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: Checks | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
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 for prompt_gateway | |
run: cd crates/prompt_gateway && cargo build --release --target=wasm32-wasi | |
- name: Run Tests on common crate | |
run: cd crates/common && cargo test | |
- name: Run Tests on prompt_gateway crate | |
run: cd crates/prompt_gateway && cargo test | |
- name: Build wasm module for llm_gateway | |
run: cd crates/llm_gateway && cargo build --release --target=wasm32-wasi | |
- name: Run Tests on llm_gateway crate | |
run: cd crates/llm_gateway && cargo test |