Skip to content

Commit ee53e7b

Browse files
author
Perki
committed
Updating CI coverage
1 parent 8211e48 commit ee53e7b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
3737
- name: Run tests on all components
3838
run: |
39-
IS_CI=true just test-cover all
39+
IS_CI=true just test-cover-ci
4040
4141
- name: Upload coverage to Codecov
4242
uses: codecov/[email protected]

justfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ test-cover component *params:
5858
NODE_ENV=test COMPONENT={{component}} nyc --reporter=lcov --reporter=text --report-dir=./coverage \
5959
components-run npx mocha -- {{params}}
6060

61+
# Run tests for ci
62+
test-cover-ci:
63+
NODE_ENV=test COMPONENT=all nyc --reporter=lcov components-run npx mocha
64+
6165
# Run browser tests (assumes browser files are built)
6266
test-browser:
6367
(sleep 1 && open https://l.backloop.dev:8443/?pryvServiceInfoUrl=https://zou.zou/service/info) &

0 commit comments

Comments
 (0)