Skip to content

Commit

Permalink
fix: code coverage upload in run_app_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbourianes-kalisio committed Oct 21, 2024
1 parent d6025b4 commit 0a0ed27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- helm bumped to `3.14.4`
- helmfile bumped to `0.167.1`
- `build_docs` now takes a fourth parameter, the version of node to use to build the docs

### Fixed

- `run_app_tests` now correctly upload code coverage if asked to
4 changes: 4 additions & 0 deletions kash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1257,6 +1257,8 @@ run_app_tests() {
## Run tests
##

pushd "$REPO_DIR/api"

use_node "$NODE_VER"
yarn test:server

Expand All @@ -1266,6 +1268,8 @@ run_app_tests() {
if [ "$CODE_COVERAGE" = true ]; then
send_coverage_to_cc "$CC_TEST_REPORTER_ID"
fi

popd
}

# Setup the workspace for a lib project.
Expand Down

0 comments on commit 0a0ed27

Please sign in to comment.