Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit efabb6e

Browse filesBrowse files
committed
Auto-generated commit
1 parent b50a8a2 commit efabb6e
Copy full SHA for efabb6e

File tree

6 files changed

+29
-5
lines changed
Filter options

6 files changed

+29
-5
lines changed

‎.editorconfig

Copy file name to clipboardExpand all lines: .editorconfig
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ indent_style = tab
4545
indent_style = space
4646
indent_size = 2
4747

48+
# Set properties for `cli_opts.json` files:
49+
[cli_opts.json]
50+
indent_style = tab
51+
4852
# Set properties for TypeScript files:
4953
[*.ts]
5054
indent_style = tab

‎.github/workflows/test.yml

Copy file name to clipboardExpand all lines: .github/workflows/test.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ jobs:
5353
id: tests
5454
run: |
5555
npm test || npm test || npm test
56-
- uses: act10ns/slack@v1
56+
- name: Send status to Slack channel in case of failure
57+
uses: act10ns/slack@v1
5758
with:
5859
status: ${{ job.status }}
5960
steps: ${{ toJson(steps) }}

‎.github/workflows/test_coverage.yml

Copy file name to clipboardExpand all lines: .github/workflows/test_coverage.yml
+13-1Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,26 @@ jobs:
5151
timeout-minutes: 15
5252
- name: Upload coverage to Codecov
5353
id: upload
54-
uses: codecov/codecov-action@v1
54+
uses: codecov/codecov-action@v2
5555
with:
5656
directory: reports/coverage
5757
flags: unittests
5858
fail_ci_if_error: true
59+
- name: Extract coverage value and assign to output
60+
id: extract-coverage
61+
run: |
62+
coverage=`cat reports/coverage/lcov-report/index.html | grep "fraction" | grep -oP '\d+/\d+' | printf %s "$(cat)" | jq -R -s -c 'split("\n")'`
63+
echo "::set-output name=coverage::$coverage"
5964
- uses: act10ns/slack@v1
6065
with:
6166
status: ${{ job.status }}
6267
steps: ${{ toJson(steps) }}
6368
channel: '#npm-ci'
6469
if: failure()
70+
- name: Send Webhook with status to stdlib backend
71+
uses: distributhor/workflow-webhook@v2
72+
env:
73+
webhook_url: ${{ secrets.STDLIB_COVERAGE_URL }}
74+
webhook_secret: ${{ secrets.STDLIB_WEBHOOK_SECRET }}
75+
data: '{ "coverage": ${{ steps.extract-coverage.outputs.coverage }}, "run_id": "${{ github.run_id }}" }'
76+
if: ${{ false }}

‎.github/workflows/test_install.yml

Copy file name to clipboardExpand all lines: .github/workflows/test_install.yml
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ on:
2727
workflow_run:
2828
workflows: ["Publish Package"]
2929
types: [completed]
30+
workflow_dispatch:
3031

3132
# Workflow jobs:
3233
jobs:
3334
on-success:
3435
runs-on: ubuntu-latest
3536
env:
3637
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
37-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
38+
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
3839
steps:
3940
- uses: actions/checkout@v2
4041
- uses: actions/setup-node@v2
@@ -45,7 +46,8 @@ jobs:
4546
run: |
4647
npm install --only=prod || npm install --only=prod || npm install --only=prod
4748
timeout-minutes: 15
48-
- uses: act10ns/slack@v1
49+
- name: Send notification to Slack in case of failure
50+
uses: act10ns/slack@v1
4951
with:
5052
status: ${{ job.status }}
5153
steps: ${{ toJson(steps) }}

‎CONTRIBUTORS

Copy file name to clipboardExpand all lines: CONTRIBUTORS
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Justin Dennison <justin1dennison@gmail.com>
1616
Marcus <mfantham@users.noreply.github.com>
1717
Matt Cochrane <matthew.cochrane.eng@gmail.com>
1818
Milan Raj <rajsite@users.noreply.github.com>
19+
Momtchil Momtchev <momtchil@momtchev.com>
1920
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
2021
Philipp Burckhardt <pburckhardt@outlook.com>
2122
Ricky Reusser <rsreusser@gmail.com>

‎README.md

Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# Multidimensional Arrays
2222

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

2525
> Create a multidimensional array.
2626
@@ -314,9 +314,13 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
314314
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/ndarray-array/main.svg
315315
[coverage-url]: https://codecov.io/github/stdlib-js/ndarray-array?branch=main
316316

317+
<!--
318+
317319
[dependencies-image]: https://img.shields.io/david/stdlib-js/ndarray-array.svg
318320
[dependencies-url]: https://david-dm.org/stdlib-js/ndarray-array/main
319321
322+
-->
323+
320324
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
321325
[chat-url]: https://gitter.im/stdlib-js/stdlib/
322326

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.