Skip to content

CI improvements (#11) #5

CI improvements (#11)

CI improvements (#11) #5

Workflow file for this run

---
name: build
on: push
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
fail-fast: true
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true
- name: Remove GHCup
run: ghcup nuke
- name: Check GHCup is not present
run: "! command -v ghcup"
shell: bash
- name: Run unit tests
run: ./test/bats/bin/bats -T test
- name: Run integration tests
uses: asdf-vm/actions/plugin-test@v3
with:
plugin: ghc
command: ghc --version