Skip to content

Commit

Permalink
Merge pull request #17 from purescript/github-actions
Browse files Browse the repository at this point in the history
Migrate to GitHub Actions
  • Loading branch information
kl0tl authored Dec 5, 2020
2 parents 59044bb + 60488a4 commit 177ea60
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 25 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: purescript-contrib/setup-purescript@main
with:
purescript: "0.14.0-rc3"

- uses: actions/setup-node@v1
with:
node-version: "12"

- name: Install dependencies
run: |
npm install -g bower
npm install
bower install --production
- name: Build source
run: npm run-script build

- name: Run tests
run: |
bower install
npm run-script test --if-present
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/.*
!/.gitignore
!/.eslintrc.json
!/.travis.yml
!/.github/
/bower_components/
/node_modules/
/output/
Expand Down
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# purescript-assert

[![Latest release](http://img.shields.io/github/release/purescript/purescript-assert.svg)](https://github.com/purescript/purescript-assert/releases)
[![Build status](https://travis-ci.org/purescript/purescript-assert.svg?branch=master)](https://travis-ci.org/purescript/purescript-assert)
[![Build status](https://github.com/purescript/purescript-assert/workflows/CI/badge.svg?branch=master)](https://github.com/purescript/purescript-assert/actions?query=workflow%3ACI+branch%3Amaster)

Basic assertions library for low level testing. This is primarily for testing the core libraries that cannot use [`purescript-quickcheck`](https://github.com/purescript/purescript-quickcheck) without resulting in circular dependencies.

## Installation

```
bower install purescript-assert
spago install assert
```

## Documentation
Expand Down

0 comments on commit 177ea60

Please sign in to comment.