From bee9f0dedb429cce2037738663107c9c934a4b6c Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Mon, 28 Oct 2024 14:10:57 -0700 Subject: [PATCH] improve rust test --- .github/workflows/checks.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .github/workflows/checks.yml diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml deleted file mode 100644 index ac33c76c..00000000 --- a/.github/workflows/checks.yml +++ /dev/null @@ -1,35 +0,0 @@ -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: Run Tests on common crate - run: cd crates/common && cargo test - - - name: Build wasm module for prompt_gateway - run: cd crates/prompt_gateway && cargo build --release --target=wasm32-wasi - - - 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