mirror of
https://github.com/inventree/inventree-app.git
synced 2026-11-19 04:08:26 +00:00
Fix unit tests in CI (#895)
* use demo data rather than simple fixtures * Remove admin creation in CI * Adjust unit tests * Remove token data from debug log
This commit is contained in:
1 parent
23abf50145
commit
7554bbdfa2
6 files changed
+53
-34
No files matched your search
@@ -16,11 +16,8 @@ env:
|
||||
INVENTREE_MEDIA_ROOT: ../test_inventree_media
|
||||
INVENTREE_STATIC_ROOT: ../test_inventree_static
|
||||
INVENTREE_BACKUP_DIR: ../test_inventree_backup
|
||||
INVENTREE_ADMIN_USER: testuser
|
||||
INVENTREE_ADMIN_PASSWORD: testpassword
|
||||
INVENTREE_ADMIN_EMAIL: test@test.com
|
||||
jobs:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -78,7 +75,7 @@ jobs:
|
||||
cd inventree_server
|
||||
invoke install
|
||||
invoke migrate
|
||||
invoke dev.import-fixtures
|
||||
invoke dev.setup-test -i
|
||||
invoke dev.server -a 127.0.0.1:8000 &
|
||||
invoke wait
|
||||
sleep 30
|
||||
|
||||
Reference in new issue
Block a user