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 Nov 19, 2021
1 parent 21d6d8d commit dfae90d
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ indent_style = tab
indent_style = space
indent_size = 2

# Set properties for `cli_opts.json` files:
[cli_opts.json]
indent_style = tab

# Set properties for TypeScript files:
[*.ts]
indent_style = tab
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ jobs:
id: tests
run: |
npm test || npm test || npm test
- uses: act10ns/slack@v1
- name: Send status to Slack channel in case of failure
uses: act10ns/slack@v1
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,26 @@ jobs:
timeout-minutes: 15
- name: Upload coverage to Codecov
id: upload
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2
with:
directory: reports/coverage
flags: unittests
fail_ci_if_error: true
- name: Extract coverage value and assign to output
id: extract-coverage
run: |
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"
- uses: act10ns/slack@v1
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
channel: '#npm-ci'
if: failure()
- name: Send Webhook with status to stdlib backend
uses: distributhor/workflow-webhook@v2
env:
webhook_url: ${{ secrets.STDLIB_COVERAGE_URL }}
webhook_secret: ${{ secrets.STDLIB_WEBHOOK_SECRET }}
data: '${{ steps.extract-coverage.outputs.coverage }}'
if: ${{ false }}
6 changes: 4 additions & 2 deletions .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@ on:
workflow_run:
workflows: ["Publish Package"]
types: [completed]
workflow_dispatch:

# Workflow jobs:
jobs:
on-success:
runs-on: ubuntu-latest
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand All @@ -45,7 +46,8 @@ jobs:
run: |
npm install --only=prod || npm install --only=prod || npm install --only=prod
timeout-minutes: 15
- uses: act10ns/slack@v1
- name: Send notification to Slack in case of failure
uses: act10ns/slack@v1
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Justin Dennison <[email protected]>
Marcus <[email protected]>
Matt Cochrane <[email protected]>
Milan Raj <[email protected]>
Momtchil Momtchev <[email protected]>
Ognjen Jevremović <[email protected]>
Philipp Burckhardt <[email protected]>
Ricky Reusser <[email protected]>
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.

# isUint32Array

[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->

> Test if a value is a [Uint32Array][mdn-uint32array].
Expand Down Expand Up @@ -180,9 +180,13 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/assert-is-uint32array/main.svg
[coverage-url]: https://codecov.io/github/stdlib-js/assert-is-uint32array?branch=main

<!--
[dependencies-image]: https://img.shields.io/david/stdlib-js/assert-is-uint32array.svg
[dependencies-url]: https://david-dm.org/stdlib-js/assert-is-uint32array/main
-->

[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
[chat-url]: https://gitter.im/stdlib-js/stdlib/

Expand Down

0 comments on commit dfae90d

Please sign in to comment.