File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 88
99 env :
1010 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
11+ INVENTREE_SITE_URL : http://localhost:8000
1112 INVENTREE_DB_ENGINE : django.db.backends.sqlite3
1213 INVENTREE_DB_NAME : ../inventree_unit_test_db.sqlite3
1314 INVENTREE_MEDIA_ROOT : ../test_inventree_media
4445 invoke install
4546 invoke migrate
4647 invoke dev.import-fixtures
47- invoke dev.server -a 127 .0.0.1 :12345 &
48+ invoke dev.server -a 0 .0.0.0 :12345 &
4849 invoke wait
4950 - name : Run Tests
5051 run : |
Original file line number Diff line number Diff line change 1- version : " 3.8"
2-
31# Docker compose recipe for spawning a simple InvenTree server instance,
42# to use for running local tests of the InvenTree python API
53# We use the latest (master branch) InvenTree code for testing.
64
7- # The tests should be targetted at localhost:12345
5+ # The tests should be targeted at localhost:12345
86
97services :
108
@@ -16,6 +14,7 @@ services:
1614 - 12345:8000
1715 environment :
1816 - INVENTREE_DEBUG=True
17+ - INVENTREE_SITE_URL=http://localhost:12345
1918 - INVENTREE_DB_ENGINE=sqlite
2019 - INVENTREE_DB_NAME=/home/inventree/data/test_db.sqlite3
2120 - INVENTREE_DEBUG_LEVEL=error
You can’t perform that action at this time.
0 commit comments