forked from opendatahub-io/caikit-tgis-serving
-
Notifications
You must be signed in to change notification settings - Fork 4
36 lines (33 loc) · 909 Bytes
/
smoke-test.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
name: "Smoke Test"
on:
push:
branches: [main]
paths:
- "!docs"
- "!demo"
pull_request:
jobs:
smoke-test:
name: Smoke Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build image
run: |
cd test
docker-compose build
# Note: caikit's and tgis images are fairly large, and if we include cached
# layers, we easily cross the 25GB mark, hence we'll clean up as much
# space as possible to avoid out-of-space failures.
# caikit-tgis-serving image: ~4GB
# text-generation-inference: ~10GB
docker system prune -f
- name: Pull tgis image
run: |
docker pull quay.io/opendatahub/text-generation-inference:stable
- name: Test image
run: |
cd test
bash -x smoke-test.sh
env:
CI: true