Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
827b1e58
Commit
827b1e58
authored
Jun 25, 2024
by
Jonathan Rohde
Browse files
feat(sqlalchemy): execute tests in github actions
parent
23e4d9da
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
.github/workflows/integration-test.yml
.github/workflows/integration-test.yml
+22
-0
No files found.
.github/workflows/integration-test.yml
View file @
827b1e58
...
@@ -67,6 +67,28 @@ jobs:
...
@@ -67,6 +67,28 @@ jobs:
path
:
compose-logs.txt
path
:
compose-logs.txt
if-no-files-found
:
ignore
if-no-files-found
:
ignore
pytest
:
name
:
Run backend tests
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Set up Python
uses
:
actions/setup-python@v4
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip
pip install -r backend/requirements.txt
-
name
:
pytest run
run
:
|
ls -al
cd backend
PYTHONPATH=. pytest . -o log_cli=true -o log_cli_level=INFO
migration_test
:
migration_test
:
name
:
Run Migration Tests
name
:
Run Migration Tests
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment