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 materialized views unit tests #1050

Merged
merged 2 commits into from Apr 2, 2024

Conversation

Shinigami92
Copy link
Collaborator

No description provided.

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

github-actions bot commented Apr 2, 2024

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 92% (🎯 85%)
⬆️ +2.31%
4338 / 4715
🟢 Statements 92% (🎯 85%)
⬆️ +2.31%
4338 / 4715
🟢 Functions 92.91% (🎯 85%)
⬆️ +4.16%
223 / 240
🟢 Branches 87.5% (🎯 85%)
⬆️ +0.49%
735 / 840
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Unchanged Files
src/db.ts 87.87% 88.46% 87.5% 87.87% 66-68, 97, 100-112, 152-154
src/index.ts 100% 100% 100% 100%
src/migration-builder.ts 97.38% 92.3% 87.5% 97.38% 330-334, 461-466, 490-491
src/migration.ts 78.26% 78.04% 58.33% 78.26% 65, 69, 72-80, 110-112, 117-153, 210-211, 236-239, 247-248, 265-268, 297-298
src/runner.ts 74.43% 58.18% 80% 74.43% 42, 69-70, 79-80, 84-91, 129-130, 169-172, 181-185, 198, 203-215, 234, 236-242, 245, 258, 270-283, 286-289, 299-300, 309-311, 320, 322-331, 343-350
src/sqlMigration.ts 92% 100% 80% 92% 47-50
src/types.ts 100% 100% 100% 100%
src/utils.ts 96.81% 88.63% 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/extensions.ts 100% 100% 100% 100%
src/operations/functions.ts 100% 100% 100% 100%
src/operations/indexes.ts 94.15% 91.22% 100% 94.15% 21, 31-34, 43, 72, 121-122
src/operations/operators.ts 76.56% 95% 79.16% 76.56% 142-162, 168-179, 188-199, 253-272, 275-280
src/operations/other.ts 100% 100% 100% 100%
src/operations/policies.ts 100% 94.44% 100% 100%
src/operations/roles.ts 97.2% 77.27% 100% 97.2% 57, 63, 70, 77
src/operations/schemas.ts 100% 100% 100% 100%
src/operations/sequences.ts 92.42% 82.85% 100% 92.42% 32, 34-35, 40-41, 54-55, 60-61, 109
src/operations/tables.ts 89.89% 83.76% 96.66% 89.89% 64-65, 68-69, 120-124, 149, 153-154, 173-174, 199-200, 203-210, 213-214, 353-378, 417-421, 436, 446-447, 552, 561-569
src/operations/triggers.ts 92.66% 78.78% 100% 92.66% 59-60, 72-73, 76-77, 80-83, 124
src/operations/types.ts 100% 100% 100% 100%
src/operations/views.ts 100% 95.55% 100% 100%
src/operations/viewsMaterialized.ts 100% 97.77% 100% 100%
Generated in workflow #206

@Shinigami92 Shinigami92 merged commit 38fa3c3 into main Apr 2, 2024
32 checks passed
@Shinigami92 Shinigami92 deleted the test/add-materialized-views-unit-tests branch April 2, 2024 08:32
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