mirror of
https://github.com/inventree/InvenTree.git
synced 2026-08-10 23:46:21 +00:00
Adjust demo-dataset for CI (#12500)
This commit is contained in:
@@ -40,6 +40,10 @@ env:
|
||||
INVENTREE_DB_HOST: "127.0.0.1"
|
||||
INVENTREE_DB_PORT: 5432
|
||||
|
||||
# Use the same-named branch of the demo dataset as the target branch of this build,
|
||||
# so that stable branches are not broken by changes to the demo dataset on main
|
||||
DEMO_DATASET_BRANCH: ${{ github.event_name == 'pull_request' && github.base_ref || github.ref_name }}
|
||||
|
||||
jobs:
|
||||
|
||||
paths-filter:
|
||||
@@ -90,7 +94,7 @@ jobs:
|
||||
- name: Setup Postgres Database
|
||||
run: |
|
||||
invoke migrate
|
||||
invoke dev.setup-test -i
|
||||
invoke dev.setup-test -i --branch "$DEMO_DATASET_BRANCH"
|
||||
- name: Create Plugin Data
|
||||
run: |
|
||||
pip install -U inventree-dummy-app-plugin==0.1.0
|
||||
|
||||
Reference in New Issue
Block a user