mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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:
parent
f61259e0d2
commit
6b858f777b
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-dev.txt'
|
||||
migrations:
|
||||
- '**/test_migrations.py'
|
||||
- '**/migrations/**'
|
||||
- '.github/workflows**'
|
||||
- 'src/backend/requirements.txt'
|
||||
|
@ -64,6 +64,7 @@ class TestSerialNumberMigration(MigratorTestCase):
|
||||
big_ref_item.serial,
|
||||
'9999999999999999999999999999999999999999999999999999999999999',
|
||||
)
|
||||
|
||||
self.assertEqual(big_ref_item.serial_int, 0x7FFFFFFF)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user