2
0
mirror of https://github.com/inventree/demo-dataset.git synced 2025-04-27 21:16:50 +00:00

Set environment variables

This commit is contained in:
Oliver 2021-06-20 10:25:40 +10:00
parent 55c17ed06b
commit 2aa6062e0d

View File

@ -10,6 +10,11 @@ jobs:
max-parallel: 4
matrix:
python-version: [3.7]
env:
INVENTREE_DB_ENGINE: sqlite3
INVENTREE_DB_NAME: inventree_db.sqlite3
INVENTREE_MEDIA_ROOT: /path/to/media
steps:
- name: Checkout Code
@ -20,8 +25,10 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install InvenTree
run: |
pwd
sudo apt-get install python3-dev python3-pip python3-venv python3-wheel g++
pip3 install invoke
git clone --depth 1 https://github.com/inventree/inventree inventree
cd inventree
invoke install