mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Merge pull request #914 from pimutils/simpler-coverage
Simplify coverage submission
This commit is contained in:
commit
459efbf7af
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