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
If the latest commit is not mergeable, tctest will identify tests from the latest mergeable commit. It would be helpful if the pr and list commands would return an error stating that the current PR is not mergeable.
A flag to override this behaviour should be added, which would emit a warning and continue running the command.
Steps to reproduce:
On a project with status checks configured, introduce an error, e.g. a linting error
Run tctest pr
Observe TeamCity running old tests
Proposed behaviour:
$ tctest pr 12345
Discovering tests for pr #12345 (...)
ERROR: PR #12345 is not mergeable
$tctest pr 12345 --ignore-mergeability
Discovering tests for pr #12345 (...)
WARNING: PR #12345 is not mergeable, using last mergeable commit ab3410
...
The text was updated successfully, but these errors were encountered:
If the latest commit is not mergeable,
tctest
will identify tests from the latest mergeable commit. It would be helpful if thepr
andlist
commands would return an error stating that the current PR is not mergeable.A flag to override this behaviour should be added, which would emit a warning and continue running the command.
Steps to reproduce:
tctest pr
Proposed behaviour:
The text was updated successfully, but these errors were encountered: