File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 28
28
OPENGROK_PULL_REQUEST : ${{ github.head_ref }}
29
29
OPENGROK_REPO_SLUG : ${{ github.repository }}
30
30
OPENGROK_REF : ${{ github.ref }}
31
+ OPENGROK_COVERALLS_TOKEN : ${{ secrets.COVERALLS_TOKEN }}
31
32
run : ./dev/main
32
33
macos :
33
34
name : macOS with Java 11
Original file line number Diff line number Diff line change 13
13
extra_args=" "
14
14
if [[ " x$OPENGROK_REPO_SLUG " == " xoracle/opengrok" && " x$OPENGROK_BRANCH " == " xmaster" ]]; then
15
15
echo " Enabling Coveralls"
16
- extra_args=" jacoco:report coveralls:report"
16
+ if [[ -n $OPENGROK_COVERALLS_TOKEN ]]; then
17
+ extra_args=" $extra_args -DrepoToken=$OPENGROK_COVERALLS_TOKEN "
18
+ fi
19
+ extra_args=" $extra_args jacoco:report coveralls:report"
17
20
18
21
#
19
22
# Sonar seems to only work on master branch commits.
You can’t perform that action at this time.
0 commit comments