Demo ci check (#12530)

* Remove branch checking in workflow files

* Detect demo branch based on software version

* Fix typo
This commit is contained in:
Oliver
2026-08-01 14:53:43 +10:00
committed by GitHub
parent 5216203e0d
commit 175bfda22f
3 changed files with 15 additions and 13 deletions
+1 -5
View File
@@ -40,10 +40,6 @@ 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:
@@ -94,7 +90,7 @@ jobs:
- name: Setup Postgres Database
run: |
invoke migrate
invoke dev.setup-test -i --branch "$DEMO_DATASET_BRANCH"
invoke dev.setup-test -i
- name: Create Plugin Data
run: |
pip install -U inventree-dummy-app-plugin==0.1.0