Merge pull request #914 from pimutils/simpler-coverage

Simplify coverage submission
This commit is contained in:
Hugo Osvaldo Barrera 2021-07-07 15:10:10 +02:00 committed by GitHub
commit 459efbf7af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 12 deletions

View file

@ -2,10 +2,3 @@ comment: false
coverage:
status:
patch: false
project:
unit:
flags: unit
system:
flags: system
storage:
flags: storage

View file

@ -43,10 +43,8 @@ all:
ci-test:
curl -s https://codecov.io/bash > $(CODECOV_PATH)
$(PYTEST) tests/unit/
bash $(CODECOV_PATH) -c -F unit
$(PYTEST) tests/system/
bash $(CODECOV_PATH) -c -F system
$(PYTEST) --cov-append tests/unit/ tests/system/
bash $(CODECOV_PATH) -c
[ "$(ETESYNC_TESTS)" = "false" ] || make test-storage
ci-test-storage:
@ -55,7 +53,7 @@ ci-test-storage:
for server in $(DAV_SERVER); do \
DAV_SERVER=$$server $(PYTEST) --cov-append tests/storage; \
done
bash $(CODECOV_PATH) -c -F storage
bash $(CODECOV_PATH) -c
test:
$(PYTEST)