2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 13:36:50 +00:00

Add backup dir for InvenTree test server (#215)

* Add backup dir for InvenTree test server

* Specify python version
This commit is contained in:
Oliver 2022-11-06 19:57:02 +11:00 committed by GitHub
parent e2e47961fd
commit 8f0d5add44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,7 @@ env:
INVENTREE_DB_NAME: ../inventree_unit_test_db.sqlite3 INVENTREE_DB_NAME: ../inventree_unit_test_db.sqlite3
INVENTREE_MEDIA_ROOT: ../test_inventree_media INVENTREE_MEDIA_ROOT: ../test_inventree_media
INVENTREE_STATIC_ROOT: ../test_inventree_static INVENTREE_STATIC_ROOT: ../test_inventree_static
INVENTREE_BACKUP_DIR: ../test_inventree_backup
INVENTREE_ADMIN_USER: testuser INVENTREE_ADMIN_USER: testuser
INVENTREE_ADMIN_PASSWORD: testpassword INVENTREE_ADMIN_PASSWORD: testpassword
INVENTREE_ADMIN_EMAIL: test@test.com INVENTREE_ADMIN_EMAIL: test@test.com
@ -49,6 +50,10 @@ jobs:
flutter pub get flutter pub get
flutter analyze flutter analyze
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Start InvenTree Server - name: Start InvenTree Server
run: | run: |
sudo apt-get install python3-dev python3-pip python3-venv python3-wheel g++ sudo apt-get install python3-dev python3-pip python3-venv python3-wheel g++