Skip to content

Commit

Permalink
Add Open WebUI tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
EtiennePerot committed Sep 30, 2024
1 parent 1ee32f7 commit 989c98e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/openwebui-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Open WebUI test
on:
push: {}
pull_request: {}
jobs:
open_webui_test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.x"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Check that open-webui files are up-to-date
run: |
python build/build_openwebui.py --mode=check
- name: Download Open WebUI container image
run: |
docker pull ghcr.io/open-webui/open-webui:main
- name: Run Open WebUI tool self-test
run: |
./tests/openwebui/tools/run_code_test.sh
- name: Run Open WebUI function self-test
run: |
./tests/openwebui/functions/run_code_test.sh

0 comments on commit 989c98e

Please sign in to comment.