File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
- name : ci:test
1
+ name : ci:cover
2
2
on :
3
3
- push
4
4
- pull_request
5
5
jobs :
6
- test :
7
- name : Continuous integration (tests )
6
+ cover :
7
+ name : Continuous integration (code coverage )
8
8
runs-on : ubuntu-latest
9
9
steps :
10
10
- name : Checkout 🛎️
11
11
uses : actions/checkout@v4
12
12
13
- - name : Install 🔧
13
+ - name : Install 📦
14
14
uses : bahmutov/npm-install@v1
15
15
with :
16
16
install-command : yarn --frozen-lockfile --ignore-scripts
17
17
useRollingCache : true
18
18
19
- - name : Test 🔬
20
- run : yarn ci:test
19
+ - name : Test and record coverage 🔬
20
+ run : yarn cover
21
21
22
22
- name : Publish coverage report 📃
23
23
uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ let heap = new FibonacciHeap( increasing ) ;
16
16
17
17
[ ![ License] ( https://img.shields.io/github/license/heap-data-structure/fibonacci-heap.svg )] ( https://raw.githubusercontent.com/heap-data-structure/fibonacci-heap/main/LICENSE )
18
18
[ ![ Version] ( https://img.shields.io/npm/v/@heap-data-structure/fibonacci-heap.svg )] ( https://www.npmjs.org/package/@heap-data-structure/fibonacci-heap )
19
- [ ![ Tests] ( https://img.shields.io/github/workflow/status/heap-data-structure/fibonacci-heap/ci:test ?event=push&label=tests )] ( https://github.com/heap-data-structure/fibonacci-heap/actions/workflows/ci:test .yml?query=branch:main )
19
+ [ ![ Tests] ( https://img.shields.io/github/workflow/status/heap-data-structure/fibonacci-heap/ci:cover ?event=push&label=tests )] ( https://github.com/heap-data-structure/fibonacci-heap/actions/workflows/ci:cover .yml?query=branch:main )
20
20
[ ![ Dependencies] ( https://img.shields.io/librariesio/github/heap-data-structure/fibonacci-heap.svg )] ( https://github.com/heap-data-structure/fibonacci-heap/network/dependencies )
21
21
[ ![ GitHub issues] ( https://img.shields.io/github/issues/heap-data-structure/fibonacci-heap.svg )] ( https://github.com/heap-data-structure/fibonacci-heap/issues )
22
22
[ ![ Downloads] ( https://img.shields.io/npm/dm/@heap-data-structure/fibonacci-heap.svg )] ( https://www.npmjs.org/package/@heap-data-structure/fibonacci-heap )
You can’t perform that action at this time.
0 commit comments