Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions test/generate_report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ SYSTEM=coverage-system-test

# Generate the reports for each test suite separately to avoid covering each
# other.
tsc
GOOGLE_API_KEY=googapikey GOOGLE_CLOUD_PROJECT=googcloudproj GOOGLE_CLOUD_LOCATION=googcloudloc
NODE_OPTIONS="--max-old-space-size=8192" tsc
cp src/cross/sentencepiece/sentencepiece_model.pb.js dist/src/cross/sentencepiece/
GOOGLE_API_KEY=googapikey GOOGLE_CLOUD_PROJECT=googcloudproj GOOGLE_CLOUD_LOCATION=googcloudloc \
c8 --reporter=json --report-dir=./${WORK_DIR}/${UNIT} jasmine dist/test/unit/**/*_test.js dist/test/unit/*_test.js
c8 --reporter=json --report-dir=./${WORK_DIR}/${SYSTEM} jasmine dist/test/system/node/*_test.js -- --test-server

Expand Down
Loading