Skip to content

Commit

Permalink
nightly UI tests on docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-pfeiffer committed Aug 21, 2024
1 parent 8987641 commit e761356
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Push to Vorvan - Nightly
name: Build Docker Image - Nightly

on:
schedule:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/test_nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Test Docker Image - Nightly

on:
schedule:
- cron: "0 5 * * *"
workflow_dispatch:

jobs:
test-ui-nightly:
runs-on: self-hosted
steps:
- name: Run the Docker Image
run: |-
mkdir llmstudio_mnt
docker run --runtime=nvidia --shm-size=64g --init --rm -u `id -u`:`id -g` -p 10101:10101 -v $(pwd)/llmstudio_mnt:/home/llmstudio/mount h2o-llmstudio
- name: Run UI Tests
run: LOCAL_LOGIN=True PYTEST_BASE_URL=localhost:10101 make test-ui
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

<a href="https://user-images.githubusercontent.com/1069138/233859311-32aa1f8c-4d68-47ac-8cd9-9313171ff9f9.png"><img width="50%" alt="home" src="https://user-images.githubusercontent.com/1069138/233859311-32aa1f8c-4d68-47ac-8cd9-9313171ff9f9.png"></a><a href="https://user-images.githubusercontent.com/1069138/233859315-e6928aa7-28d2-420b-8366-bc7323c368ca.png"><img width="50%" alt="logs" src="https://user-images.githubusercontent.com/1069138/233859315-e6928aa7-28d2-420b-8366-bc7323c368ca.png"></a>

[![Build Docker Image - Nightly](https://github.com/h2oai/h2o-llmstudio/actions/workflows/build-and-push-nightly.yml/badge.svg)](https://github.com/h2oai/h2o-llmstudio/actions/workflows/build-and-push-nightly.yml)

## Jump to

- [With H2O LLM Studio, you can](#with-h2o-llm-studio-you-can)
Expand Down

0 comments on commit e761356

Please sign in to comment.