Skip to content

Commit 9e0b791

Browse files
hramosfacebook-github-bot
authored andcommitted
Pass Circle CI branch information to Coveralls (#22489)
Summary: Trivial. Coveralls expects CI_BRANCH to be set. Circle uses CIRCLE_BRANCH instead. Without this, Coverals will attribute coverage reports to a "patch-1" branch. Pull Request resolved: #22489 Differential Revision: D13306787 Pulled By: hramos fbshipit-source-id: 70ad525168f249f4ca7f0370ba941632c33da8c5
1 parent 4148976 commit 9e0b791

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.circleci/config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,11 @@ jobs:
636636
# Test Coverage
637637
js_coverage:
638638
<<: *js_defaults
639+
environment:
640+
- CI_BRANCH: $CIRCLE_BRANCH
641+
- CI_PULL_REQUEST: $CIRCLE_PULL_REQUEST
642+
- CI_BUILD_NUMBER: $CIRCLE_BUILD_NUM
643+
- CI_BUILD_URL: $CIRCLE_BUILD_URL
639644
steps:
640645
- checkout
641646
- restore-cache: *restore-yarn-cache

0 commit comments

Comments
 (0)