Skip to content

Commit 4a432bf

Browse files
failing test
Our branch specification in teamcity is like so: +:refs/heads/* +:refs/pull/(*/merge) -:rr-cache as per the official recommendation: http://blog.jetbrains.com/teamcity/2013/02/automatically-building-pull-requests-from-github-with-teamcity/
1 parent abaa384 commit 4a432bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

GitVersionExe.Tests/PullRequestInTeamCityTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ public class PullRequestInTeamCityTest
1010

1111
[TestCase("refs/pull-requests/5/merge")]
1212
[TestCase("refs/pull/5/merge")]
13+
[TestCase("refs/heads/pull/5/head")]
1314
public void GivenARemoteWithATagOnMaster_AndAPullRequestWithTwoCommits_AndBuildIsRunningInTeamCity_VersionIsCalculatedProperly(string pullRequestRef)
1415
{
1516
using (var fixture = new EmptyRepositoryFixture(new Config()))

0 commit comments

Comments
 (0)