Files
InvenTree/.github/actions/migration/action.yaml
T
Matthias Mair 3e367df724 reduce ci time (#12985)
* we are currently locking on olugin lease for 2 mins per ci setup; not good

* fix syntax

* move setting

* fix assign syntax

* reduce noice while setting up
2026-10-12 19:09:20 +11:00

20 lines
554 B
YAML

name: 'Migration test'
description: 'Run migration test sequence'
author: 'InvenTree'
runs:
using: 'composite'
steps:
- name: Data Import Export
shell: bash
run: |
invoke migrate
invoke dev.import-fixtures
invoke export-records -f data.json
python3 ./src/backend/InvenTree/manage.py flush --noinput
invoke migrate
invoke import-records -c -f data.json --strict
invoke import-records -c -f data.json --strict
env:
SETUP_INITIALIZING: 1