[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:
Matthias Mair authored and GitHub committed 2024-04-11 10:11:12 +10:00
1 parent f61259e0d2
commit 6b858f777b
2 files changed
+2

No files matched your search

+1
View File
@@ -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)