Skip to content

Finished clojure version #295

Finished clojure version

Finished clojure version #295

Workflow file for this run

# This workflow will run the tests on the haskell version of tictactoe
name: haskell
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./tictactoe_haskell
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup haskell
uses: haskell-actions/setup@v2
with:
ghc-version: '9.4.2' # Exact version of ghc to use
- name: Build
run: cabal build
- name: Test
run: cabal test --enable-coverage
- name: Archive code coverage results
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
path: ./tictactoe_haskell/dist-newstyle/build/x86_64-linux/ghc-9.4.2/tictactoe-haskell-0.1.0.0/hpc/vanilla/html/tictactoe-haskell-0.1.0.0