mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Simplify coverage submission
We submit separate coverage reports for each group of tests, but codecov doesn't give us proper tooling to analyse each one separately. When there's a percentage drop in one, there's no way to pinpoint where -- at least not without running locally and inspecting results separately. Treat all coverage as one. Analysis of coverage for each group of tests can be done offline and manually, but there's little value in keeping it in codecov. Should also help us transition a more simplified CI design (e.g.: running all tests together rather than in groups).
This commit is contained in:
parent
21db2547cb
commit
58aa0a3a31
2 changed files with 3 additions and 12 deletions
|
|
@ -2,10 +2,3 @@ comment: false
|
||||||
coverage:
|
coverage:
|
||||||
status:
|
status:
|
||||||
patch: false
|
patch: false
|
||||||
project:
|
|
||||||
unit:
|
|
||||||
flags: unit
|
|
||||||
system:
|
|
||||||
flags: system
|
|
||||||
storage:
|
|
||||||
flags: storage
|
|
||||||
|
|
|
||||||
8
Makefile
8
Makefile
|
|
@ -43,10 +43,8 @@ all:
|
||||||
|
|
||||||
ci-test:
|
ci-test:
|
||||||
curl -s https://codecov.io/bash > $(CODECOV_PATH)
|
curl -s https://codecov.io/bash > $(CODECOV_PATH)
|
||||||
$(PYTEST) tests/unit/
|
$(PYTEST) --cov-append tests/unit/ tests/system/
|
||||||
bash $(CODECOV_PATH) -c -F unit
|
bash $(CODECOV_PATH) -c
|
||||||
$(PYTEST) tests/system/
|
|
||||||
bash $(CODECOV_PATH) -c -F system
|
|
||||||
[ "$(ETESYNC_TESTS)" = "false" ] || make test-storage
|
[ "$(ETESYNC_TESTS)" = "false" ] || make test-storage
|
||||||
|
|
||||||
ci-test-storage:
|
ci-test-storage:
|
||||||
|
|
@ -55,7 +53,7 @@ ci-test-storage:
|
||||||
for server in $(DAV_SERVER); do \
|
for server in $(DAV_SERVER); do \
|
||||||
DAV_SERVER=$$server $(PYTEST) --cov-append tests/storage; \
|
DAV_SERVER=$$server $(PYTEST) --cov-append tests/storage; \
|
||||||
done
|
done
|
||||||
bash $(CODECOV_PATH) -c -F storage
|
bash $(CODECOV_PATH) -c
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(PYTEST)
|
$(PYTEST)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue