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:
parent
55c17ed06b
commit
2aa6062e0d
7
.github/workflows/import_data.yaml
vendored
7
.github/workflows/import_data.yaml
vendored
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user