Skip to content

feat: add BelongsToCISuite test utility - #1732

Closed
erikburt wants to merge 1 commit into
mainfrom
feat/tests-belongs-to-ci-suite
Closed

erikburt wants to merge 1 commit into
mainfrom
feat/tests-belongs-to-ci-suite

Conversation

@erikburt

@erikburt erikburt commented Dec 11, 2025 •

Copy link
Copy Markdown
Contributor

Adds BelongsToCISuite method to help organize tests for CI execution.

More information here: https://docs.google.com/document/d/1u_LwtnTcIpkG0EHWlKrYixf9h-tiDm0rOZRsOFncjVI/edit?tab=t.0

This is in place and working here: smartcontractkit/chainlink#20610


DX-2467

@github-actions

github-actions Bot commented Dec 11, 2025 •

Copy link
Copy Markdown
Contributor

✅ API Diff Results - No breaking changes


📄 View full apidiff report

@erikburt
erikburt force-pushed the feat/tests-belongs-to-ci-suite branch from 36eaee1 to 7c3688b Compare December 12, 2025 17:08
@erikburt
erikburt marked this pull request as ready for review December 15, 2025 22:21
@erikburt
erikburt requested a review from a team as a code owner December 15, 2025 22:21
Copilot AI review requested due to automatic review settings December 15, 2025 22:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a BelongsToCISuite test utility function that enables selective test execution based on environment configuration. This allows CI pipelines to run targeted test suites (e.g., "integration", "unit") rather than the entire test suite, improving feedback loop speed.

Key changes:

  • Adds BelongsToCISuite function that checks the CL_CURRENT_TEST_SUITE environment variable
  • Tests are skipped if the suite doesn't match the configured value
  • When the environment variable is unset, all tests run normally

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkg/utils/tests/tests.go Resolved
@erikburt erikburt closed this Dec 17, 2025

This branch was previously deployed

1 inactive deployment
integration — 7c3688b0 Deployed Dec 12, 2025 by erikburt via Starknet Build Relay #8824
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.

2 participants