haskell / haskell/hackage-server

Tests for `doctest` fail

Open
#991 5 comments 0 reactions 0 assignees View on GitHub
component: doc builder re: doctest
Dominant language
Haskell
Stars
467
Forks
225
PR merge metrics
No merged PRs in 30d

Description

https://hackage.haskell.org/package/doctest-0.20.0/reports/

Don't see a build log for the actual test failure, nor do I know how exactly `hackage` tries to run the tests. What I assume could be the issue is this: `doctest`'s test suite needs to be run with `cabal exec`, specifically, this is how I run the tests:

```
cabal configure --enable-tests && cabal build && cabal exec -- cabal test --test-show-details=direct
```

Can this please be fixed? Alternatively, if this can not be fixed in a timely manner, can I please get rid of the ![Tests Failed](https://img.shields.io/static/v1?label=Tests&message=Failed&color=critical)-badge?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.