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 bc3bf13 commit 5d97f59
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 11 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
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.

# Signature

[![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] -->

> Return the signature(s) associated with a provided alias.
Expand Down Expand Up @@ -244,9 +244,13 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/repl-signature/main.svg
[coverage-url]: https://codecov.io/github/stdlib-js/repl-signature?branch=main

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

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

Expand Down
20 changes: 15 additions & 5 deletions data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,13 @@ base.boxcox,"base.boxcox( x, lambda )"
base.boxcox1p,"base.boxcox1p( x, lambda )"
base.boxcox1pinv,"base.boxcox1pinv( y, lambda )"
base.boxcoxinv,"base.boxcoxinv( y, lambda )"
base.cabs,"base.cabs( re, im )"
base.cabs2,"base.cabs2( re, im )"
base.cabs,"base.cabs( z )"
base.cabs2,"base.cabs2( z )"
base.cadd,"base.cadd( [out,] re1, im1, re2, im2 )"
base.cbrt,"base.cbrt( x )"
base.cbrtf,"base.cbrtf( x )"
base.cceil,"base.cceil( [out,] re, im )"
base.cceil,"base.cceil( z )"
base.cceilf,"base.cceilf( z )"
base.cceiln,"base.cceiln( [out,] re, im, n )"
base.ccis,"base.ccis( [out,] re, im )"
base.cdiv,"base.cdiv( [out,] re1, im1, re2, im2 )"
Expand All @@ -106,6 +107,8 @@ base.cexp,"base.cexp( [out,] re, im )"
base.cflipsign,"base.cflipsign( [out,] re, im, y )"
base.cfloor,"base.cfloor( [out,] re, im )"
base.cfloorn,"base.cfloorn( [out,] re, im, n )"
base.cidentity,"base.cidentity( z )"
base.cidentityf,"base.cidentityf( z )"
base.cinv,"base.cinv( [out,] re, im )"
base.clamp,"base.clamp( v, min, max )"
base.clampf,"base.clampf( v, min, max )"
Expand Down Expand Up @@ -906,6 +909,7 @@ base.minabs,"base.minabs( [x[, y[, ...args]]] )"
base.minmax,"base.minmax( [out,] x[, y[, ...args]] )"
base.minmaxabs,"base.minmaxabs( [out,] x[, y[, ...args]] )"
base.modf,"base.modf( [out,] x )"
base.mul,"base.mul( x, y )"
base.ndarray,"base.ndarray( dtype, buffer, shape, strides, offset, order )"
base.ndarray.prototype.byteLength,"base.ndarray.prototype.byteLength"
base.ndarray.prototype.BYTES_PER_ELEMENT,"base.ndarray.prototype.BYTES_PER_ELEMENT"
Expand Down Expand Up @@ -1395,6 +1399,8 @@ base.strided.binary,"base.strided.binary( arrays, shape, strides, fcn )"
base.strided.binary.ndarray,"base.strided.binary.ndarray( arrays, shape, strides, offsets, fcn )"
base.strided.ccopy,"base.strided.ccopy( N, x, strideX, y, strideY )"
base.strided.ccopy.ndarray,"base.strided.ccopy.ndarray( N, x, strideX, offsetX, y, strideY, offsetY )"
base.strided.cmap,"base.strided.cmap( N, x, strideX, y, strideY, fcn )"
base.strided.cmap.ndarray,"base.strided.cmap.ndarray( N, x, strideX, offsetX, y, strideY, offsetY, fcn )"
base.strided.cswap,"base.strided.cswap( N, x, strideX, y, strideY )"
base.strided.cswap.ndarray,"base.strided.cswap.ndarray( N, x, strideX, offsetX, y, strideY, offsetY )"
base.strided.cumax,"base.strided.cumax( N, x, strideX, y, strideY )"
Expand Down Expand Up @@ -1817,6 +1823,10 @@ base.strided.gsumpw,"base.strided.gsumpw( N, x, stride )"
base.strided.gsumpw.ndarray,"base.strided.gsumpw.ndarray( N, x, stride, offset )"
base.strided.gswap,"base.strided.gswap( N, x, strideX, y, strideY )"
base.strided.gswap.ndarray,"base.strided.gswap.ndarray( N, x, strideX, offsetX, y, strideY, offsetY )"
base.strided.mapBy,"base.strided.mapBy( N, x, sx, y, sy, fcn, clbk[, thisArg] )"
base.strided.mapBy.ndarray,"base.strided.mapBy.ndarray( N, x, sx, ox, y, sy, oy, fcn, clbk[, thisArg] )"
base.strided.mapBy2,"base.strided.mapBy2( N, x, sx, y, sy, z, sz, fcn, clbk[, thisArg] )"
base.strided.mapBy2.ndarray,"base.strided.mapBy2.ndarray( N, x, sx, ox, y, sy, oy, z, sz, oz, fcn, clbk[, thisArg] )"
base.strided.max,"base.strided.max( N, x, stride )"
base.strided.max.ndarray,"base.strided.max.ndarray( N, x, stride, offset )"
base.strided.maxabs,"base.strided.maxabs( N, x, stride )"
Expand Down Expand Up @@ -2240,8 +2250,8 @@ base.truncb,"base.truncb( x, n, b )"
base.truncf,"base.truncf( x )"
base.truncn,"base.truncn( x, n )"
base.truncsd,"base.truncsd( x, n[, b] )"
base.uimul,"base.uimul( a, b )"
base.uimuldw,"base.uimuldw( [out,] a, b )"
base.umul,"base.umul( a, b )"
base.umuldw,"base.umuldw( [out,] a, b )"
base.uint32ToInt32,"base.uint32ToInt32( x )"
base.vercos,"base.vercos( x )"
base.versin,"base.versin( x )"
Expand Down
2 changes: 1 addition & 1 deletion data/data.json

Large diffs are not rendered by default.

0 comments on commit 5d97f59

Please sign in to comment.