better names

This commit is contained in:
Adil Hafeez 2024-10-28 14:19:45 -07:00
parent 5ba638e0e4
commit 6a16c793d8
3 changed files with 10 additions and 5 deletions

View file

@ -1,4 +1,4 @@
name: Run Model Server tests
name: model server tests
on:
push:

View file

@ -1,4 +1,4 @@
name: Rust Tests (prompt and llm gateway)
name: rust tests (prompt and llm gateway)
on:
pull_request:
@ -9,6 +9,10 @@ jobs:
test:
name: Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./crates
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
@ -20,10 +24,10 @@ jobs:
run: rustup target add wasm32-wasi
- name: Build wasm module
run: cd crates && cargo build --release --target=wasm32-wasi
run: cargo build --release --target=wasm32-wasi
- name: Run unit tests
run: cd crates && cargo test --lib
run: cargo test --lib
- name: Run integration tests
run: cd crates && cargo test --test integration
run: cargo test --test integration

View file

@ -33,6 +33,7 @@ cd ../model_server
poetry install 2>&1 >> ../build.log
log starting model server
log =====================
touch ~/archgw_logs/modelserver.log
poetry run archgw_modelserver restart &
tail -F ~/archgw_logs/modelserver.log &
model_server_tail_pid=$!