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 @@ -23,7 +23,7 @@ import {
23
23
24
24
[ ![ License] ( https://img.shields.io/github/license/data-structures-and-algorithms/heapq.svg )] ( https://raw.githubusercontent.com/data-structures-and-algorithms/heapq/main/LICENSE )
25
25
[ ![ Version] ( https://img.shields.io/npm/v/@data-structure/heapq.svg )] ( https://www.npmjs.org/package/@data-structure/heapq )
26
- [ ![ Tests] ( https://img.shields.io/github/workflow/status/data-structures-and-algorithms/heapq/ci:test ?event=push&label=tests )] ( https://github.com/data-structures-and-algorithms/heapq/actions/workflows/ci:test .yml?query=branch:main )
26
+ [ ![ Tests] ( https://img.shields.io/github/workflow/status/data-structures-and-algorithms/heapq/ci:cover ?event=push&label=tests )] ( https://github.com/data-structures-and-algorithms/heapq/actions/workflows/ci:cover .yml?query=branch:main )
27
27
[ ![ Dependencies] ( https://img.shields.io/librariesio/github/data-structures-and-algorithms/heapq.svg )] ( https://github.com/data-structures-and-algorithms/heapq/network/dependencies )
28
28
[ ![ GitHub issues] ( https://img.shields.io/github/issues/data-structures-and-algorithms/heapq.svg )] ( https://github.com/data-structures-and-algorithms/heapq/issues )
29
29
[ ![ Downloads] ( https://img.shields.io/npm/dm/@data-structure/heapq.svg )] ( https://www.npmjs.org/package/@data-structure/heapq )
You can’t perform that action at this time.
0 commit comments