Skip to content

Fix: run tests in ci.yml without sonar when not in USDOT-owned branch#218

Merged
mcook42 merged 1 commit intodevfrom
mcook42/fix/reenable-tests-in-ci
Sep 2, 2025
Merged

Fix: run tests in ci.yml without sonar when not in USDOT-owned branch#218
mcook42 merged 1 commit intodevfrom
mcook42/fix/reenable-tests-in-ci

Conversation

@mcook42
Copy link

@mcook42 mcook42 commented Aug 29, 2025

PR Details

Description

Run tests in ci.yml without Sonar when not in a USDOT-owned branch. The existing CI only runs tests in the sonar step, which only runs when USDOT owns the branch. This means we don't get the value of automatic tests and PR blockers if tests fail. This replaces the automated testing without doubling our test costs when targeting a USDOT-owned branch.

Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

  • Defect fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that cause existing functionality to change)

Checklist:

  • I have added any new packages to the sonar-scanner.properties file
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
    ODE Contributing Guide
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@mcook42 mcook42 marked this pull request as ready for review August 29, 2025 22:13
Copy link

@payneBrandon payneBrandon left a comment

Choose a reason for hiding this comment

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

lgtm, nice catch!

Copy link

@Michael7371 Michael7371 left a comment

Choose a reason for hiding this comment

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

Looks good!

@mcook42 mcook42 merged commit 1db6849 into dev Sep 2, 2025
4 of 5 checks passed
@mcook42 mcook42 deleted the mcook42/fix/reenable-tests-in-ci branch September 2, 2025 18:43
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.

3 participants