Skip to content

Commit 1e251c2

Browse files
Migrate to GitHub Actions (#36)
1 parent ba0b90d commit 1e251c2

File tree

4 files changed

+35
-28
lines changed

4 files changed

+35
-28
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on: push
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
11+
- uses: purescript-contrib/setup-purescript@main
12+
with:
13+
purescript: "0.14.0-rc3"
14+
15+
- uses: actions/setup-node@v1
16+
with:
17+
node-version: "12"
18+
19+
- name: Install dependencies
20+
run: |
21+
npm install -g bower
22+
npm install
23+
bower install --production
24+
25+
- name: Build source
26+
run: npm run-script build
27+
28+
- name: Run tests
29+
run: |
30+
bower install
31+
npm run-script test --if-present

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/.*
22
!/.gitignore
3-
!/.travis.yml
3+
!/.github/
44
/bower_components/
55
/node_modules/
66
/output/

.travis.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# purescript-parallel
22

33
[![Latest release](http://img.shields.io/github/release/purescript/purescript-parallel.svg)](https://github.com/purescript/purescript-parallel/releases)
4-
[![Build status](https://travis-ci.org/purescript/purescript-parallel.svg?branch=master)](https://travis-ci.org/purescript/purescript-parallel)
5-
[![Dependency status](https://img.shields.io/librariesio/github/purescript/purescript-parallel.svg)](https://libraries.io/github/purescript/purescript-parallel)
4+
[![Build status](https://github.com/purescript/purescript-parallel/workflows/CI/badge.svg?branch=master)](https://github.com/purescript/purescript-parallel/actions?query=workflow%3ACI+branch%3Amaster)
5+
[![Pursuit](https://pursuit.purescript.org/packages/purescript-parallel/badge)](https://pursuit.purescript.org/packages/purescript-parallel)
66

77
Classes for parallel composition and racing of asynchronous computations.
88

99
## Installation
1010

1111
```
12-
bower install purescript-parallel
12+
spago install parallel
1313
```
1414

1515
## Documentation

0 commit comments

Comments
 (0)