Adjust demo-dataset for CI (#12500)

This commit is contained in:
Oliver
2026-07-29 18:02:05 +10:00
committed by GitHub
parent 4b9bea17de
commit c08c7e8e53
3 changed files with 31 additions and 4 deletions
+5 -1
View File
@@ -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