Skip to content

Commit

Permalink
Use AVA for integration tests (#14)
Browse files Browse the repository at this point in the history
* removes qunit, adds ava for integration tests

* adds github action for running tests
  • Loading branch information
andrewMacmurray authored Feb 27, 2021
1 parent 4a9ba99 commit 4f1e00a
Show file tree
Hide file tree
Showing 11 changed files with 2,518 additions and 151 deletions.
1 change: 0 additions & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- master

jobs:
deploy-examples:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Integration Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-
- uses: actions/cache@v2
with:
path: ~/.elm
key: ${{ runner.os }}-elm-${{ hashFiles('**/elm.json') }}
restore-keys: ${{ runner.os }}-elm-

- run: npm ci
- run: npm run test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ node_modules

# build
dist
tests/program/index.js

# editor
.idea
16 changes: 0 additions & 16 deletions deploy.sh

This file was deleted.

Loading

0 comments on commit 4f1e00a

Please sign in to comment.