Skip to content

Commit ca247e4

Browse files
🤖 config(ci): Configure workflow to automate tests of changes (with coverage).
These changes were automatically generated by a transform whose code can be found at: - https://github.com/make-github-pseudonymous-again/rejuvenate/blob/31b7e48f29789fa2e2ad9e16013ff277c3bbca57/src/transforms/github:workflow-configure-ci:cover.js Please contact the author of the transform if you believe there was an error.
1 parent f446e0a commit ca247e4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ci:test.yml renamed to .github/workflows/ci:cover.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
name: ci:test
1+
name: ci:cover
22
on:
33
- push
44
- pull_request
55
jobs:
6-
test:
7-
name: Continuous integration (tests)
6+
cover:
7+
name: Continuous integration (code coverage)
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout 🛎️
1111
uses: actions/checkout@v4
1212

13-
- name: Install 🔧
13+
- name: Install 📦
1414
uses: bahmutov/npm-install@v1
1515
with:
1616
install-command: yarn --frozen-lockfile --ignore-scripts
1717
useRollingCache: true
1818

19-
- name: Test 🔬
20-
run: yarn ci:test
19+
- name: Test and record coverage 🔬
20+
run: yarn cover
2121

2222
- name: Publish coverage report 📃
2323
uses: codecov/codecov-action@v3

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ mincut([[0,1],[1,2],[1,3],[2,3],[0,4],[0,5],[4,5]]); // 0--1
1616

1717
[![License](https://img.shields.io/github/license/graph-algorithm/minimum-cut.svg)](https://raw.githubusercontent.com/graph-algorithm/minimum-cut/main/LICENSE)
1818
[![Version](https://img.shields.io/npm/v/@graph-algorithm/minimum-cut.svg)](https://www.npmjs.org/package/@graph-algorithm/minimum-cut)
19-
[![Tests](https://img.shields.io/github/workflow/status/graph-algorithm/minimum-cut/ci:test?event=push&label=tests)](https://github.com/graph-algorithm/minimum-cut/actions/workflows/ci:test.yml?query=branch:main)
19+
[![Tests](https://img.shields.io/github/workflow/status/graph-algorithm/minimum-cut/ci:cover?event=push&label=tests)](https://github.com/graph-algorithm/minimum-cut/actions/workflows/ci:cover.yml?query=branch:main)
2020
[![Dependencies](https://img.shields.io/librariesio/github/graph-algorithm/minimum-cut.svg)](https://github.com/graph-algorithm/minimum-cut/network/dependencies)
2121
[![GitHub issues](https://img.shields.io/github/issues/graph-algorithm/minimum-cut.svg)](https://github.com/graph-algorithm/minimum-cut/issues)
2222
[![Downloads](https://img.shields.io/npm/dm/@graph-algorithm/minimum-cut.svg)](https://www.npmjs.org/package/@graph-algorithm/minimum-cut)

0 commit comments

Comments
 (0)