Test. #75
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: Haskell CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: wenkokke/setup-agda@v2 | |
with: | |
agda-version: '2.5.2' | |
- name: Install dependencies | |
run: | | |
stack update | |
echo "DONE 1" | |
cabal update | |
echo "DONE 2" | |
echo "$(agda --version)" | |
echo $(cabal info base) | |
cabal install agda2hs | |
echo "DONE 3" | |
- name: Build | |
run: | | |
agda2hs ./src/Lam/Agda/Lam/Export.agda | |
mv ./src/Lam/Agda/Lam/*.hs ./src/Lam | |
rm ./src/Lam/Export.hs | |
stack build | |
- name: Run tests | |
run: stack test |