Skip to content

Commit 8b959b1

Browse files
a-flying-potatomake-github-pseudonymous-again
authored andcommittedMar 26, 2021
🤖 config(github): Configure workflow to automate tests of changes.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/aureooms/rejuvenate/blob/057c4df07dfcd3ed83201b062803b05a252bf67f/src/transforms/github:workflow-configure-ci:test.js Please contact the author of the transform if you believe there was an error.
1 parent ca0c348 commit 8b959b1

File tree

4 files changed

+28
-25
lines changed

4 files changed

+28
-25
lines changed
 

‎.github/workflows/ci:test.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: ci:test
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Continuous integration (tests)
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout 🛎️
11+
uses: actions/checkout@v2
12+
13+
- name: Install 🔧
14+
uses: bahmutov/npm-install@v1
15+
with:
16+
install-command: yarn --frozen-lockfile --ignore-scripts
17+
useRollingCache: true
18+
19+
- name: Test 🔬
20+
run: yarn ci:test
21+
22+
- name: Publish coverage report 📃
23+
uses: codecov/codecov-action@v1
24+
with:
25+
fail_ci_if_error: true

‎.travis.yml

-22
This file was deleted.

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cycle( chain( [ [ 0 , 1 , 2 ] , [ 3 , 4 , 5 ] ] ) ) ; // 0 1 2 3 4 5 0 1 ...
2020

2121
[![License](https://img.shields.io/github/license/aureooms/js-itertools.svg)](https://raw.githubusercontent.com/aureooms/js-itertools/main/LICENSE)
2222
[![Version](https://img.shields.io/npm/v/@aureooms/js-itertools.svg)](https://www.npmjs.org/package/@aureooms/js-itertools)
23-
[![Build](https://img.shields.io/travis/aureooms/js-itertools/main.svg)](https://travis-ci.com/aureooms/js-itertools/branches)
23+
[![Tests](https://img.shields.io/github/workflow/status/aureooms/js-itertools/ci:test?event=push&label=tests)](https://github.com/aureooms/js-itertools/actions/workflows/ci:test.yml?query=branch:main)
2424
[![Dependencies](https://img.shields.io/david/aureooms/js-itertools.svg)](https://david-dm.org/aureooms/js-itertools)
2525
[![Dev dependencies](https://img.shields.io/david/dev/aureooms/js-itertools.svg)](https://david-dm.org/aureooms/js-itertools?type=dev)
2626
[![GitHub issues](https://img.shields.io/github/issues/aureooms/js-itertools.svg)](https://github.com/aureooms/js-itertools/issues)

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"build": "NODE_ENV=production microbundle",
4747
"build-docs": "esdoc",
4848
"build-gh-pages": "npm run build-docs",
49+
"ci:test": "npm run lint-config && npm run lint && npm run cover",
4950
"commit-msg": "commitlint --edit",
5051
"cover": "c8 --all --src src --reporter=lcov npm test",
5152
"debug": "NODE_ENV=debug npm run test -- -st --fail-fast",
@@ -61,8 +62,7 @@
6162
"prepare": "npm run build",
6263
"prepublishOnly": "pinst --disable",
6364
"release": "np --message ':hatching_chick: release: Bumping to v%s.'",
64-
"test": "ava",
65-
"travis": "npm run lint-config && npm run lint && npm run cover"
65+
"test": "ava"
6666
},
6767
"dependencies": {
6868
"@aureooms/js-collections-deque": "^6.0.1",

0 commit comments

Comments
 (0)
Please sign in to comment.