Commit graph

14 commits

Author SHA1 Message Date
Tomas Janousek
15ce16f24c Revert "tests: Use explicit coverage tracking"
This reverts commit b00e886142.

This fixes reporting of coverage by the few tests that run outside of
vim.

The commit that is being reverted doesn't explain why it was committed,
and the git history suggests it was reverted once and then reintroduced
later again. None of those commits explains the why. I can only guess
that the last time this was committed was an attempt to fix coverage
reporting to outside of docker, which it didn't, and additionally it
made coverage gathering less robust (see previous commit). So this is
yet another fix for the inaccurate coverage reporting.

Or maybe it was because `--cov` without `=taskwiki` an argument reports
coverage for tests instead of taskwiki code? Nevermind, I guess, now it
works well.
2020-07-08 21:36:52 -04:00
Tomas Janousek
14c0268438 tests: Upgrade vimrunner and drop the now unnecessary hacks
This makes the tests less brittle and potentially also faster.
2020-07-02 09:51:56 -04:00
Tomas Janousek
7f47669e0c tests: Run tests in parallel using pytest-xdist 2020-07-02 09:51:56 -04:00
Tomas Janousek
c0285cceef tests: Move CMD from Dockerfile to docker-compose.yml
This makes it easier to change the command (e.g. to add `-s`) as we
don't need to tell docker-compose to rebuild the image and container.
2020-07-02 09:51:56 -04:00
Tomas Janousek
21889a2be2 tests: Include xvfb into the Docker image 2020-07-02 09:51:56 -04:00
Tomas Babej
0177912443 Remove extra package 2018-12-31 20:13:21 -05:00
Tomas Babej
b00e886142
tests: Use explicit coverage tracking 2018-07-31 03:46:58 -04:00
Tomas Babej
a331fd0f3b
docker: Accept TASK_VERSION argument 2018-07-31 02:39:53 -04:00
Tomas Babej
d7fd4177a6
travis: test 2018-07-31 02:20:19 -04:00
Tomas Babej
846b71bc26
docker: Install mnemosyne to pull in graphics deps 2018-07-31 01:43:52 -04:00
Tomas Babej
b5918e14f5
Dockerfile: Add procps-ng 2018-07-30 23:52:02 -04:00
Tomas Babej
bda5df48a3
tests: Use pytest-cov 2018-07-30 23:51:45 -04:00
Tomas Babej
49e87d1d68
meta: Add tasklib into requirements 2018-07-30 22:49:29 -04:00
Tomas Babej
f7ed50f632
travis: Add Dockerfile 2018-07-30 22:44:05 -04:00