You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR removes all old references to the Travis CI environment from the codebase, since we no longer use it.
🔧 Implementation Notes
No functional changes to code.
🔄 Types of changes
Cleanup (formatting, renaming)
CI/Test
PR Type
Other
Description
Remove Travis CI environment references from test annotations
Delete travis parameter from @Ignore annotation interface
Remove isOnTravis() utility method and related conditionals
Clean up Travis CI environment variable from Bazel configuration
Diagram Walkthrough
flowchart LR
A["Travis CI References"] -->|Remove from tests| B["@Ignore Annotations"]
A -->|Remove utility| C["TestUtilities.java"]
A -->|Remove from config| D[".bazelrc"]
A -->|Remove from platform| E["platform.rb"]
B --> F["Clean test files"]
C --> G["Delete isOnTravis method"]
D --> H["Delete TRAVIS env var"]
E --> I["Delete travis CI detection"]
✅ Fix conditional logic for GitHub ActionsSuggestion Impact:The commit applies the suggested change, updating the condition to remove the extra parentheses and fix the logic for GitHub Actions.
Fix the conditional logic for ignoring tests on GitHub Actions. The current implementation incorrectly ignores tests when the gitHubActions attribute is not specified.
Why: The suggestion correctly identifies a critical logic bug in the shouldIgnore method. The current logic causes tests to be ignored incorrectly when @Ignore is used without gitHubActions=true, which is a significant flaw introduced by the PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
💥 What does this PR do?
This PR removes all old references to the Travis CI environment from the codebase, since we no longer use it.
🔧 Implementation Notes
No functional changes to code.
🔄 Types of changes
PR Type
Other
Description
Remove Travis CI environment references from test annotations
Delete
travisparameter from@Ignoreannotation interfaceRemove
isOnTravis()utility method and related conditionalsClean up Travis CI environment variable from Bazel configuration
Diagram Walkthrough
File Walkthrough
9 files
Remove travis parameter from Ignore annotationRemove travis parameter from Ignore annotationRemove travis parameter from multiple Ignore annotationsRemove travis parameter from Ignore annotationsRemove isOnTravis conditional and import statementRemove travis boolean parameter from interfaceRemove travis condition from ignore logicDelete isOnTravis utility methodRemove Travis CI detection from ci method1 files
Remove TRAVIS environment variable from test config