diff options
author | Justin Ethier <justin.ethier@gmail.com> | 2020-05-12 15:51:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-12 15:51:24 -0400 |
commit | 7f90a56731ac3057259bb33f001a65536e2d43bf (patch) | |
tree | 1447f426f63461006be3b6b9aeabbad209f72a35 | |
parent | 6e80aa304c223bef5b75a38d8ad163e932f7fe3a (diff) | |
parent | bedd5d3df9956b6893e4b779f84f512554214802 (diff) |
Merge pull request #217 from travitch/tr/add-ci-tests
Extend the test runner
-rw-r--r-- | .github/workflows/ci-matrix.yml | 25 | ||||
-rw-r--r-- | cabal.project | 1 |
2 files changed, 21 insertions, 5 deletions
diff --git a/.github/workflows/ci-matrix.yml b/.github/workflows/ci-matrix.yml index f7efed23..18b5a9f8 100644 --- a/.github/workflows/ci-matrix.yml +++ b/.github/workflows/ci-matrix.yml @@ -17,7 +17,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - ghc: ['7.10.3', '8.0.2', '8.2.2', '8.4.4', '8.6.5', '8.8.3', '8.10.1'] + ghc: ['8.0.2', '8.2.2', '8.4.4', '8.6.5', '8.8.3', '8.10.1'] cabal: ['3.2.0.0'] os: [ubuntu-latest, macOS-latest, windows-latest] exclude: @@ -31,8 +31,6 @@ jobs: ghc: 8.2.2 - os: macOS-latest ghc: 8.0.2 - - os: macOS-latest - ghc: 7.10.3 - os: windows-latest ghc: 8.8.3 - os: windows-latest @@ -43,8 +41,6 @@ jobs: ghc: 8.2.2 - os: windows-latest ghc: 8.0.2 - - os: windows-latest - ghc: 7.10.3 name: Haskell GHC ${{ matrix.ghc }} on ${{ matrix.os }} steps: @@ -68,3 +64,22 @@ jobs: run: | cabal v2-update cabal v2-build all --write-ghc-environment-files=always + + - name: Haddock + run: | + cabal v2-haddock all + + - name: Test Interpreter + working-directory: tests + run: | + cabal v2-run exe:huski -- r5rs_pitfall.scm + + - name: Test Compiler + working-directory: tests + run: | + cabal v2-run exe:huskc -- compiler-run-tests.scm + ./compiler-run-tests + + - name: Dist + run: | + cabal v2-sdist diff --git a/cabal.project b/cabal.project new file mode 100644 index 00000000..e6fdbadb --- /dev/null +++ b/cabal.project @@ -0,0 +1 @@ +packages: . |