Skip to content

Refactor/split integration tests#207

Closed
OliverTrautvetter wants to merge 4 commits intomainfrom
refactor/split-integration-tests
Closed

Refactor/split integration tests#207
OliverTrautvetter wants to merge 4 commits intomainfrom
refactor/split-integration-tests

Conversation

@OliverTrautvetter
Copy link
Member

TODO

- Use RepoRoot-relative paths instead of joining with current directory
- Introduce clientFactory pattern for lazy client creation in generate docker
- Format OpenAPI client code and fix float formatting
Split the monolithic integration_test.go into individual files, each
with a Ginkgo label for selective execution via matrix CI:

  curl_test.go (curl), error_handling_test.go (error-handling),
  git_test.go (git), list_test.go (list), log_test.go (log),
  monitor_test.go (local), pipeline_test.go (pipeline),
  version_help_test.go (local), wakeup_test.go (wakeup),
  workspace_test.go (workspace)

Extract shared constants and helpers into int/util/.
- Split CI into build, test (parallel per-label matrix), and cleanup jobs
- Define label list once; derive matrix and unlabeled filter dynamically
- Add unique run-name with github.run_id to avoid parallel conflicts
- Fetch latest hadolint and kubeconform versions at install time
- Add per-label Makefile targets (test-int-workspace, test-int-list, etc.)
Signed-off-by: OliverTrautvetter <66372584+OliverTrautvetter@users.noreply.github.com>
@OliverTrautvetter OliverTrautvetter deleted the refactor/split-integration-tests branch March 12, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant