Skip to content

Add elm-verify-examples #10

Add elm-verify-examples

Add elm-verify-examples #10

Workflow file for this run

name: Unit tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Install elm
run: |
curl -L -o elm.gz https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz
gunzip elm.gz
chmod +x elm
sudo mv elm /usr/local/bin/
- name: Install test runners
run: |
npm i elm-test -g
npm i elm-verify-examples -g
- name: Run elm-test
run: elm-test
- name: Run elm-verify-examples
run: elm-verify-examples --run-tests