~jugmac00/lpci:add-html-coverage

Last commit made on 2021-11-17
Get this branch:
git clone -b add-html-coverage https://git.launchpad.net/~jugmac00/lpci
Only Jürgen Gmach can upload to this branch. If you are Jürgen Gmach please log in for upload directions.

Branch merges

Branch information

Name:
add-html-coverage
Repository:
lp:~jugmac00/lpci

Recent commits

b3ece92... by Jürgen Gmach

Add HTML coverage report and contexts

Contexts show which line was ran by which tests.

More info
https://jugmac00.github.io/blog/enrich-test-coverage-with-contexts/

4abfa2c... by Colin Watson

Bump craft-cli to c172fa00f6

This allows removing some `mypy` overrides (although we still need some
other milder ones for now).

b47368f... by Colin Watson

Move setup-cfg-fmt to a non-default tox environment

This is very slow (about 11 seconds on my system), which is a bit much
by comparison with the other fast linters in pre-commit hooks. I filed
https://github.com/pre-commit/identify/issues/251 about the slowness,
but in the meantime let's move it to a non-default environment so that
it's less annoying.

be42b4b... by Colin Watson

Add a "run" command

This is still pretty basic, but it's enough to be able to launch
containers and run simple test jobs inside them.

I had to refactor the way emitter code is tested (based very loosely on
similar test code in charmcraft), since it was difficult to handle the
`emit.open_stream` context manager otherwise.

342f6e3... by Colin Watson

Add a simple README

1a6cbd2... by Jürgen Gmach

fix linter errors

fb19b4a... by Jürgen Gmach

Run coverage via tox

d5110d8... by Colin Watson

Fix typing bugs

a01e9c7... by Colin Watson

Move mypy configuration to .mypy.ini

pydantic's mypy plugin doesn't yet work properly with pyproject.toml
(https://github.com/samuelcolvin/pydantic/issues/2895, fixed but not yet
released).

1a3c743... by Colin Watson

Add a basic configuration file parser