Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add sequences unit tests #1031

Merged
merged 1 commit into from
Mar 11, 2024
Merged

Conversation

Shinigami92
Copy link
Collaborator

No description provided.

@Shinigami92 Shinigami92 added this to the v7.0 milestone Mar 11, 2024
@Shinigami92 Shinigami92 self-assigned this Mar 11, 2024
Copy link

github-actions bot commented Mar 11, 2024

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 60.94% (🎯 57%)
⬆️ +1.42%
3519 / 5774
🟢 Statements 60.94% (🎯 57%)
⬆️ +1.42%
3519 / 5774
🟢 Functions 64.45% (🎯 57%)
⬆️ +1.95%
165 / 256
🟢 Branches 84.29% (🎯 82%)
⬇️ -0.20%
499 / 592
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Unchanged Files
src/db.ts 80% 86.36% 50% 80% 66-68, 97, 100-112, 125-130, 133-139, 152-154
src/index.ts 100% 100% 100% 100%
src/migration-builder.ts 95.57% 75% 62.5% 95.57% 329-336, 461-466, 476-478, 481-483, 490-491
src/migration.ts 70.9% 80% 50% 70.9% 54-66, 69, 72-80, 110-112, 117-153, 210-211, 236-244, 247-248, 259-260, 265-268, 289-291, 297-298
src/runner.ts 12.78% 100% 0% 12.78% 28-71, 74-81, 84-91, 94-131, 134-148, 151-200, 203-215, 218-226, 229-252, 255-352
src/sqlMigration.ts 92% 100% 80% 92% 47-50
src/types.ts 100% 100% 100% 100%
src/utils.ts 96.81% 86.04% 100% 96.81% 115, 133, 206-207, 210-211, 218-219
src/operations/PgLiteral.ts 86.66% 100% 50% 86.66% 13-14
src/operations/domains.ts 100% 100% 100% 100%
src/operations/domainsTypes.ts 0% 0% 0% 0% 1-44
src/operations/extensions.ts 100% 100% 100% 100%
src/operations/extensionsTypes.ts 0% 0% 0% 0% 1-72
src/operations/functions.ts 100% 100% 100% 100%
src/operations/functionsTypes.ts 0% 0% 0% 0% 1-52
src/operations/generalTypes.ts 0% 0% 0% 0% 1-43
src/operations/indexes.ts 94.15% 91.07% 100% 94.15% 21, 31-34, 43, 72, 121-122
src/operations/indexesTypes.ts 0% 0% 0% 0% 1-52
src/operations/operators.ts 76.56% 95% 79.16% 76.56% 142-162, 168-179, 188-199, 253-272, 275-280
src/operations/operatorsTypes.ts 0% 0% 0% 0% 1-126
src/operations/other.ts 100% 100% 100% 100%
src/operations/othersTypes.ts 0% 0% 0% 0% 1-7
src/operations/policies.ts 100% 94.44% 100% 100%
src/operations/policiesTypes.ts 0% 0% 0% 0% 1-43
src/operations/roles.ts 97.2% 77.27% 100% 97.2% 57, 63, 70, 77
src/operations/rolesTypes.ts 0% 0% 0% 0% 1-52
src/operations/schemas.ts 100% 100% 100% 100%
src/operations/schemasTypes.ts 0% 0% 0% 0% 1-24
src/operations/sequences.ts 92.42% 82.85% 100% 92.42% 32, 34-35, 40-41, 54-55, 60-61, 109
src/operations/sequencesTypes.ts 0% 0% 0% 0% 1-58
src/operations/tables.ts 67.67% 71.69% 60% 67.67% 64-65, 68-69, 75, 120-124, 149, 153-154, 157-158, 161-162, 169-170, 173-174, 199-200, 203-210, 213-214, 251-260, 322-324, 327-330, 353-378, 417-421, 436, 446-447, 459-467, 477, 479-480, 497-511, 520-596, 601-605, 614-619, 622, 629-634, 637, 644-652, 683-690
src/operations/tablesTypes.ts 0% 0% 0% 0% 1-220
src/operations/triggers.ts 23.33% 100% 37.5% 23.33% 17-25, 32-110, 113-128, 135-144, 147
src/operations/triggersTypes.ts 0% 0% 0% 0% 1-53
src/operations/types.ts 50.83% 100% 45% 50.83% 29-36, 43-59, 70-79, 86-95, 104-109, 114-127, 134-138, 149-158, 161, 168-173, 176
src/operations/typesTypes.ts 0% 0% 0% 0% 1-78
src/operations/views.ts 35.62% 100% 41.66% 35.62% 24-31, 35-42, 49-76, 85-118, 125-144, 151-155
src/operations/viewsMaterialized.ts 42.93% 100% 37.5% 42.93% 24, 28-39, 45-52, 61-86, 97-134, 143-147, 158-167, 170, 179-186
src/operations/viewsMaterializedTypes.ts 0% 0% 0% 0% 1-80
src/operations/viewsTypes.ts 0% 0% 0% 0% 1-55
Generated in workflow #95

@Shinigami92 Shinigami92 force-pushed the test/add-sequences-unit-tests branch from ec1adae to 05e3c06 Compare March 11, 2024 13:09
@Shinigami92 Shinigami92 enabled auto-merge (squash) March 11, 2024 13:09
@Shinigami92 Shinigami92 merged commit d62a769 into main Mar 11, 2024
32 checks passed
@Shinigami92 Shinigami92 deleted the test/add-sequences-unit-tests branch March 11, 2024 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant