Spago next #78
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: purescript-contrib/setup-purescript@main | |
with: | |
purescript: "unstable" | |
purs-tidy: "latest" | |
spago: "unstable" | |
- name: Build source | |
run: spago build | |
- name: Run tests | |
run: | | |
spago test | |
echo Run test Main1 | |
spago test --main Test.Main1 | |
echo Run test Main2 | |
spago test --main Test.Main2 | |
echo Run test Main3 | |
spago test --main Test.Main3 -- <(head --bytes 1000000 /dev/zero) | |
echo Run test Main4 | |
spago test --main Test.Main4 | |
- name: Check formatting | |
run: | | |
purs-tidy check src test |