Skip to content

Commit 0a0ed27

Browse files
fix: code coverage upload in run_app_tests
1 parent d6025b4 commit 0a0ed27

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
- helm bumped to `3.14.4`
1414
- helmfile bumped to `0.167.1`
1515
- `build_docs` now takes a fourth parameter, the version of node to use to build the docs
16+
17+
### Fixed
18+
19+
- `run_app_tests` now correctly upload code coverage if asked to

kash.sh

+4
Original file line numberDiff line numberDiff line change
@@ -1257,6 +1257,8 @@ run_app_tests() {
12571257
## Run tests
12581258
##
12591259

1260+
pushd "$REPO_DIR/api"
1261+
12601262
use_node "$NODE_VER"
12611263
yarn test:server
12621264

@@ -1266,6 +1268,8 @@ run_app_tests() {
12661268
if [ "$CODE_COVERAGE" = true ]; then
12671269
send_coverage_to_cc "$CC_TEST_REPORTER_ID"
12681270
fi
1271+
1272+
popd
12691273
}
12701274

12711275
# Setup the workspace for a lib project.

0 commit comments

Comments
 (0)