mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	* Add migration test workflow * Adds dummy migration - For testing only - Will be removed * Improvements to workflow * Update workflow * Use manual git step * Don't install twice * Let's try again * Does v3 work? * Try https repo * Fix repo address * Once more with feeling * Fix location of test database * Revert change to wrong file * Fix DB location * Hard-code database path * debugging * More updates grrr * Adjust permissions on database file * Manual git operation * Updates for migration test workflow * Fix database names * Remove dummy migration file * Fix filters * Fix path filter * Explicit pathing * Fix formatting error * Another formatting error
		
			
				
	
	
		
			18 lines
		
	
	
		
			469 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			469 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 import-fixtures
 | |
|           invoke export-records -f data.json
 | |
|           python3 ./InvenTree/manage.py flush --noinput
 | |
|           invoke migrate
 | |
|           invoke import-records -f data.json
 | |
|           invoke import-records -f data.json
 |