mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Only run linter checks for *new* migration files
This commit is contained in:
		| @@ -50,8 +50,7 @@ script: | |||||||
|     - invoke import-records -f data.json |     - invoke import-records -f data.json | ||||||
|     # Run linting checks on migration files (django-migration-linter) |     # Run linting checks on migration files (django-migration-linter) | ||||||
|     # Run subset of linting checks on *ALL* migration files |     # Run subset of linting checks on *ALL* migration files | ||||||
|     - cd InvenTree && python manage.py lintmigrations --exclude-migration-test NOT_NULL ADD_UNIQUE -q ok ignore --no-cache && cd .. |     # Run strict migration file checks on *NEW* migrations (old ones are what they are) | ||||||
|     # Run stricter checks on *NEW* migrations (old ones are what they are) |  | ||||||
|     - cd InvenTree && python manage.py lintmigrations 79ddea50f507e34195bad635008419daac0d7a5f -q ok ignore --no-cache && cd .. |     - cd InvenTree && python manage.py lintmigrations 79ddea50f507e34195bad635008419daac0d7a5f -q ok ignore --no-cache && cd .. | ||||||
|  |  | ||||||
| after_success: | after_success: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user