Skip to content

qa: add e2e tests#47

Draft
morten-olsen wants to merge 1 commit intomainfrom
qa/add-e2e-tests
Draft

qa: add e2e tests#47
morten-olsen wants to merge 1 commit intomainfrom
qa/add-e2e-tests

Conversation

@morten-olsen
Copy link
Owner

@morten-olsen morten-olsen commented Jan 16, 2024

Fixes #38 and #10

TODO

  • Clean up environment creation
  • Re-add the version commands

@morten-olsen morten-olsen marked this pull request as draft January 16, 2024 23:17
@github-actions github-actions bot added the chore label Jan 16, 2024
@morten-olsen morten-olsen force-pushed the qa/add-e2e-tests branch 2 times, most recently from 981925d to a71197b Compare January 17, 2024 07:11
@github-actions
Copy link

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 66.61% 2267 / 3403
🔵 Statements 66.61% 2267 / 3403
🔵 Functions 62.1% 59 / 95
🔵 Branches 72% 108 / 150
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
packages/cli/src/bin.ts 0% 0% 0% 0% 1-7
packages/cli/src/index.ts 100% 100% 100% 100%
packages/cli/src/api/api.ts 100% 100% 100% 100%
packages/cli/src/api/output.ts 22.22% 0% 0% 22.22% 5-25
packages/cli/src/client/client.ts 93.1% 50% 100% 93.1% 9-10
packages/cli/src/commands/artifacts/artifacts.list.ts 50% 100% 0% 50% 7-11, 21-32
packages/cli/src/commands/artifacts/artifacts.pull.ts 51.85% 100% 100% 51.85% 13-25
packages/cli/src/commands/artifacts/artifacts.remove.ts 33.33% 100% 0% 33.33% 8-12, 22-52
packages/cli/src/commands/auth/auth.login.ts 59.64% 42.85% 100% 59.64% 14-23, 26-34, 45-46, 49-50
packages/cli/src/commands/contexts/contexts.current.ts 70% 100% 100% 70% 6-8
packages/cli/src/commands/contexts/contexts.use.ts 72.72% 100% 100% 72.72% 7-9
packages/cli/src/commands/loads/loads.list.ts 64.7% 100% 100% 64.7% 10-15
packages/cli/src/commands/loads/loads.push.ts 100% 100% 100% 100%
packages/cli/src/commands/local/local.run.ts 37.5% 100% 100% 37.5% 14-38
packages/cli/src/commands/logs/logs.list.ts 100% 100% 100% 100%
packages/cli/src/commands/logs/logs.remove.ts 34.48% 100% 0% 34.48% 8-12, 24-56
packages/cli/src/commands/runs/runs.create.ts 68.75% 100% 100% 68.75% 10-14
packages/cli/src/commands/runs/runs.list.ts 100% 100% 100% 100%
packages/cli/src/commands/runs/runs.remove.ts 32.69% 100% 0% 32.69% 8-12, 21-50
packages/cli/src/commands/runs/runs.terminate.ts 68.75% 100% 100% 68.75% 10-14
packages/cli/src/commands/schedules/schedules.add.ts 52% 100% 100% 52% 12-23
packages/cli/src/commands/schedules/schedules.list.ts 50% 100% 0% 50% 7-11, 20-30
packages/cli/src/commands/schedules/schedules.remove.ts 33.33% 100% 0% 33.33% 8-12, 22-52
packages/cli/src/commands/secrets/secrets.list.ts 50% 100% 0% 50% 7-11, 19-28
packages/cli/src/commands/secrets/secrets.remove.ts 61.11% 100% 100% 61.11% 10-16
packages/cli/src/commands/secrets/secrets.set.ts 57.89% 100% 100% 57.89% 10-17
packages/cli/src/config/config.ts 69.09% 60% 75% 69.09% 21-22, 34-35, 38-43, 46-52
packages/cli/src/context/context.ts 84.74% 88.88% 87.5% 84.74% 42-43, 50-56
packages/cli/src/paths/paths.ts 76.47% 100% 0% 76.47% 9-10, 13-14
packages/cli/src/utils/command.ts 100% 100% 100% 100%
packages/server/src/bin.ts 0% 0% 0% 0% 1-14
packages/server/src/index.ts 26.19% 100% 0% 26.19% 8-38
packages/server/src/auth/auth.ts 96.29% 80% 100% 96.29% 34-35
packages/server/src/config/config.ts 31.25% 0% 0% 31.25% 9-30
packages/server/src/database/database.ts 100% 100% 100% 100%
packages/server/src/id/id.ts 100% 100% 100% 100%
packages/server/src/repos/repos.ts 91.48% 100% 71.42% 91.48% 30-31, 38-39
packages/server/src/repos/artifacts/artifacts.ts 95.38% 100% 0% 95.38% 20-25
packages/server/src/repos/loads/loads.ts 77.22% 66.66% 100% 77.22% 50-65, 78-84
packages/server/src/repos/logs/logs.ts 60.46% 37.5% 100% 60.46% 44-73, 76-86, 95-96, 99-100, 107-108, 111-112, 119-120
packages/server/src/repos/runs/runs.ts 75.66% 64.28% 100% 75.66% 56-57, 62-68, 80-81, 83-84, 91-108, 111-121, 129-130, 155-156
packages/server/src/repos/schedules/schedules.ts 33.87% 100% 100% 33.87% 31-35, 38-54, 57-78, 81-94, 97-120
packages/server/src/repos/secrets/secrets.ts 48.75% 100% 100% 48.75% 24-41, 44-47, 54-55, 60-76
packages/server/src/router/router.utils.ts 94.11% 66.66% 100% 94.11% 17-18
packages/server/src/runner/runner.ts 92% 75% 100% 92% 28-29, 46-47
packages/server/src/runtime/runtime.ts 89.47% 100% 60% 89.47% 26-27, 34-35
packages/server/src/scheduler/scheduler.ts 52.56% 100% 100% 52.56% 33-36, 39-59, 62-66, 69-75
packages/server/src/server/server.ts 94.54% 66.66% 50% 94.54% 38-39, 48
Generated in workflow #98

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.

Add end-to-end test setup

1 participant