forked from jeremychone/rust-genai
-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (33 loc) · 1001 Bytes
/
yakbak-replay-tests.yml
File metadata and controls
42 lines (33 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Yakbak Replay Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
replay-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run OpenAI replay tests
run: cargo test --test tests_yakbak_openai_resp
- name: Run Gemini replay tests
run: cargo test --test tests_yakbak_gemini
- name: Run GitHub Copilot replay tests
run: cargo test --test tests_yakbak_github_copilot
- name: Run Ollama Cloud replay tests
run: cargo test --test tests_yakbak_ollama_cloud