Skip to content

Commit

Permalink
Fixed syntax for codecov branch parameter value
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbrazzatti committed Aug 12, 2024
1 parent cd474f3 commit 62113a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ jobs:
command: |
/tmp/.codecov-cli/codecov --verbose upload-process --fail-on-error --disable-search \
--token "${CODECOV_TOKEN}" --name "job-${CIRCLE_BUILD_NUM}-${CIRCLE_TAG:-$CIRCLE_BRANCH}" \
--flag "backend-bruno" --file "./coverage/bruno/lcov.info" --branch "${CIRCLE_TAG:-CIRCLE_BRANCH}"
--flag "backend-bruno" --file "./coverage/bruno/lcov.info" --branch "${CIRCLE_TAG:-$CIRCLE_BRANCH}"
/tmp/.codecov-cli/codecov --verbose upload-process --fail-on-error --disable-search \
--token "${CODECOV_TOKEN}" --name "job-${CIRCLE_BUILD_NUM}-${CIRCLE_TAG:-$CIRCLE_BRANCH}" \
--flag "backend-mocha" --file "./coverage/mocha/lcov.info" --branch "${CIRCLE_TAG:-CIRCLE_BRANCH}"
--flag "backend-mocha" --file "./coverage/mocha/lcov.info" --branch "${CIRCLE_TAG:-$CIRCLE_BRANCH}"
when: always
- run:
name: Run angular tests
Expand Down
2 changes: 1 addition & 1 deletion support/unit-testing/angular/testAngular.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function testAngular() {
node_modules/.bin/ng t --browsers=ChromeHeadless "@researchdatabox/${1}" --no-watch --no-progress --code-coverage
/tmp/.codecov-cli/codecov --verbose upload-process --fail-on-error --disable-search \
--token "${CODECOV_TOKEN}" --name "job-${CIRCLE_BUILD_NUM}-${CIRCLE_TAG:-$CIRCLE_BRANCH}" \
--flag "${2}" --file "./projects/researchdatabox/${1}/coverage/coverage-final.json" --branch "${CIRCLE_TAG:-CIRCLE_BRANCH}"
--flag "${2}" --file "./projects/researchdatabox/${1}/coverage/coverage-final.json" --branch "${CIRCLE_TAG:-$CIRCLE_BRANCH}"
}
export NVM_DIR="$HOME/.nvm"
[ -s "$HOME/.nvm/nvm.sh" ] && . "$HOME/.nvm/nvm.sh"
Expand Down

0 comments on commit 62113a0

Please sign in to comment.