Skip to content

Commit

Permalink
Migrated from Travis CI to GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pimm committed May 25, 2023
1 parent cb16f4f commit 1732925
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 11 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yaml
@@ -0,0 +1,33 @@
name: test

on:
workflow_dispatch:
push:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
with:
ref: master

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: latest

- name: Install dependencies
run: npm ci

- name: Test
run: npm test

- name: Compute coverage
run: npm run coverage

- name: Publish coverage
uses: coverallsapp/github-action@v2
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -26,7 +26,7 @@
"scripts": {
"build": "rollup --config rollup.config.js",
"test": "npm run-script build && jest && tsd test",
"coverage": "npm run-script build && jest --coverage --coverageReporters=text-lcov | coveralls"
"coverage": "npm run-script build && jest --coverage"
},
"author": {
"name": "Nullhouse",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
@@ -1,4 +1,4 @@
# ruply · [![License (X11/MIT)](https://badgen.net/github/license/pimm/ruply)](https://github.com/Pimm/ruply/blob/master/copying.txt) [![npm version](https://badgen.net/npm/v/ruply)](https://www.npmjs.com/package/ruply) [![Build Status](https://api.travis-ci.com/Pimm/ruply.svg?branch=master)](https://app.travis-ci.com/github/Pimm/ruply) [![Coverage status](https://coveralls.io/repos/github/Pimm/ruply/badge.svg?branch=master)](https://coveralls.io/github/Pimm/ruply?branch=master)
# ruply · [![License (X11/MIT)](https://badgen.net/github/license/pimm/ruply)](https://github.com/Pimm/ruply/blob/master/copying.txt) [![npm version](https://badgen.net/npm/v/ruply)](https://www.npmjs.com/package/ruply) [![Test status](https://github.com/Pimm/ruply/actions/workflows/test.yaml/badge.svg)](https://github.com/Pimm/ruply/actions/workflows/test.yaml) [![Coverage status](https://coveralls.io/repos/github/Pimm/ruply/badge.svg?branch=master)](https://coveralls.io/github/Pimm/ruply?branch=master)

`run[If]` and `apply` are functions that can help you craft easy-to-read code.

Expand Down

0 comments on commit 1732925

Please sign in to comment.