[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 2024-04-11 01:11:12 +01:00 committed by GitHub
parent f61259e0d2
commit 6b858f777b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

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'

View File

@ -64,6 +64,7 @@ class TestSerialNumberMigration(MigratorTestCase):
big_ref_item.serial,
'9999999999999999999999999999999999999999999999999999999999999',
)
self.assertEqual(big_ref_item.serial_int, 0x7FFFFFFF)