mirror of
https://github.com/inventree/InvenTree.git
synced 2026-04-02 17:41:13 +00:00
* Add management command to list installed apps * Add metadata to exported data file * Validate metadata for imported file * Update CHANGELOG.md * Update docs * Use internal codes * Refactor and add more metadata * Adjust github action workflow * Run with --force option to setup demo dataset
18 lines
525 B
YAML
18 lines
525 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 --force --strict
|
|
invoke import-records -c -f data.json --force --strict
|