Ensure coveralls uses coverage[toml]
commit87fe583db03f41f36674b35b51ad94a9601de9dc
authorPeter Grayson <pete@jpgrayson.net>
Fri, 8 Oct 2021 21:24:11 +0000 (8 17:24 -0400)
committerPeter Grayson <pete@jpgrayson.net>
Fri, 8 Oct 2021 21:33:46 +0000 (8 17:33 -0400)
treedccc32e6624e6cad34f70b35d016c6ad66b6d227
parent951e8f81b5a425e2b3a6a8887879d6350e9d1c82
Ensure coveralls uses coverage[toml]

A problem emerged where `make dev-env` installs the latest version of
the coverage package (6.x) with [toml] specified for its extras, but
then installing coveralls, which currently depends on coverage<6.0,
downgrades coverage, but does not install the [toml] extras in the
downgraded version. This seems like a bug in pip since it should
ostensibly preserve extras when downgrading.

We work around the issue by re-specifying "coverage[toml]" when
installing coveralls so that if coverage is downgraded, the [toml]
extras are still installed.

Signed-off-by: Peter Grayson <pete@jpgrayson.net>
.github/workflows/ci.yml