forked from rustformers/llm
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (42 loc) · 1.05 KB
/
integration_tests.yml
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
43
44
45
46
name: Integration Tests
permissions:
contents: write
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
test:
strategy:
# Don't stop testing if an architecture fails
fail-fast: false
matrix:
model: [llama, gptneox, gptj, mpt, bloom]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.65.0
override: true
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libssl-dev \
pkg-config \
zlib1g-dev
- name: Run Integration Tests for ${{ matrix.model }}
run: cargo run --release -p llm-test -- ${{ matrix.model }}
# Upload test results
- uses: actions/upload-artifact@v3
if: always()
with:
name: test-reports
path: ./.tests/results/*.json