Skip to content

Commit

Permalink
Create dummy coverage file
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesin11 authored Sep 19, 2023
1 parent 9f0fdf5 commit 9821688
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
run: |
inner=$(find ./dist -type f -printf '%s %f\n' | jq -s -R 'split("\n") | map(select(. != "")) | map(split(" ")) | map({"value": .[0], "key": .[1], "unit": "byte"})')
jq -n --arg key "dist_size" --arg name "dist_size" --argjson metrics "$inner" '$ARGS.named' > dist_js_sizes.json
- name: Create dummy coverage
run: touch coverage.out
- uses: k1LoW/octocov-action@v0
env:
OCTOCOV_CUSTOM_METRICS_DIST_JS: dist_js_sizes.json
Expand Down
4 changes: 2 additions & 2 deletions .octocov.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# generated by octocov init
coverage:
if: false
if: true
testExecutionTime:
if: false
if: true
diff:
datastores:
- artifact://${GITHUB_REPOSITORY}
Expand Down

0 comments on commit 9821688

Please sign in to comment.