Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Jun 30, 2022
1 parent f4819aa commit 3931c46
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 161 deletions.
2 changes: 1 addition & 1 deletion .github/.keepalive
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022-05-01T01:20:32.254Z
2022-06-30T22:10:57.956Z
7 changes: 7 additions & 0 deletions .github/workflows/npm_downloads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ jobs:
echo "::set-output name=data::$data"
timeout-minutes: 5

# Print summary of download data:
- name: 'Print summary'
run: |
echo "| Date | Downloads |" >> $GITHUB_STEP_SUMMARY
echo "|------|------------|" >> $GITHUB_STEP_SUMMARY
cat ./tmp/npm_downloads.json | jq -r ".downloads | .[-14:] | to_entries | map(\"| \(.value.day) | \(.value.downloads) |\") |.[]" >> $GITHUB_STEP_SUMMARY
# Upload the download data:
- name: 'Upload data'
uses: actions/upload-artifact@v2
Expand Down
160 changes: 0 additions & 160 deletions .github/workflows/productionize.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,20 @@ jobs:
coverage=`cat reports/coverage/lcov-report/index.html | grep "fraction" | grep -oP '\d+/\d+' | printf %s "$(cat)" | jq -R -s -c 'split("\n")'`
echo "::set-output name=coverage::$coverage"
# Format coverage as Markdown table row:
table=`echo $coverage | sed -e 's/,/|/g; s/"/ /g; s/\[/|/; s/\]/|/'`
echo "::set-output name=table::$table"
# Print coverage report to GitHub Actions log:
- name: 'Print coverage report to GitHub Actions log'
run: |
echo "## Coverage Report" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "| Statements | Branches | Functions | Lines | " >> $GITHUB_STEP_SUMMARY
echo "| ---------- | -------- | --------- | ----- | " >> $GITHUB_STEP_SUMMARY
echo "${{ steps.extract-coverage.outputs.table }}" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
# Send Slack notification if job fails:
- name: 'Send status to Slack channel in case of failure'
uses: act10ns/slack@v1
Expand Down

0 comments on commit 3931c46

Please sign in to comment.