mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	[CI] Increase migration test coverage (#6995)
* also trigger CI on changes to test files * dummy change to test file * fix match pattern
This commit is contained in:
		
							
								
								
									
										1
									
								
								.github/workflows/qc_checks.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/qc_checks.yaml
									
									
									
									
										vendored
									
									
								
							@@ -48,6 +48,7 @@ jobs:
 | 
				
			|||||||
              - 'src/backend/requirements.txt'
 | 
					              - 'src/backend/requirements.txt'
 | 
				
			||||||
              - 'src/backend/requirements-dev.txt'
 | 
					              - 'src/backend/requirements-dev.txt'
 | 
				
			||||||
            migrations:
 | 
					            migrations:
 | 
				
			||||||
 | 
					              - '**/test_migrations.py'
 | 
				
			||||||
              - '**/migrations/**'
 | 
					              - '**/migrations/**'
 | 
				
			||||||
              - '.github/workflows**'
 | 
					              - '.github/workflows**'
 | 
				
			||||||
              - 'src/backend/requirements.txt'
 | 
					              - 'src/backend/requirements.txt'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -64,6 +64,7 @@ class TestSerialNumberMigration(MigratorTestCase):
 | 
				
			|||||||
            big_ref_item.serial,
 | 
					            big_ref_item.serial,
 | 
				
			||||||
            '9999999999999999999999999999999999999999999999999999999999999',
 | 
					            '9999999999999999999999999999999999999999999999999999999999999',
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        self.assertEqual(big_ref_item.serial_int, 0x7FFFFFFF)
 | 
					        self.assertEqual(big_ref_item.serial_int, 0x7FFFFFFF)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user