Skip to content

Commit

Permalink
Minor changes to doctest step
Browse files Browse the repository at this point in the history
  • Loading branch information
mmhat committed Jul 30, 2024
1 parent c9833ea commit f8c2755
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,16 @@ jobs:
- name: "Run doctests"
shell: bash
run: |
cabal install --ignore-project --installdir ~/.local/bin doctest
if [[ "${{ runner.os }}" == 'Windows' ]]
then
doctest="$HOME/.local/bin/doctest.exe"
else
doctest="$HOME/.local/bin/doctest"
fi
$doctest --version
cabal repl --with-compiler $doctest 'os-string-aeson:lib:os-string-aeson-internal'
cabal repl --with-compiler $doctest 'os-string-aeson:lib:os-string-aeson'
cabal install --ignore-project --installdir "$HOME/.local/bin" doctest
"${doctest}" --version
cabal repl --with-compiler "${doctest}" 'os-string-aeson:lib:os-string-aeson-internal'
cabal repl --with-compiler "${doctest}" 'os-string-aeson:lib:os-string-aeson'
- name: "Check cabal file"
run: cabal check
Expand Down

0 comments on commit f8c2755

Please sign in to comment.