1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 05:04:43 +00:00
This commit is contained in:
deadc0de6
2023-11-26 21:44:32 +01:00
5 changed files with 9 additions and 9 deletions

View File

@@ -33,11 +33,9 @@ jobs:
./tests.sh
env:
DOTDROP_WORKERS: 4
- name: Coveralls
run: |
pip install coveralls
coveralls --version
coveralls --service=github
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: coverage.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

1
.gitignore vendored
View File

@@ -13,6 +13,7 @@ venv
.coverage*
htmlcov
coverages/
coverage.xml
# IDE
.idea/

2
README.md vendored
View File

@@ -7,7 +7,7 @@
[![Tests Status](https://github.com/deadc0de6/dotdrop/workflows/tests/badge.svg?branch=master)](https://github.com/deadc0de6/dotdrop/actions)
[![Doc Status](https://readthedocs.org/projects/dotdrop/badge/?version=latest)](https://dotdrop.readthedocs.io/en/latest/?badge=latest)
[![Coveralls](https://img.shields.io/coveralls/github/deadc0de6/dotdrop)](https://coveralls.io/github/deadc0de6/dotdrop?branch=master)
[![codecov](https://codecov.io/github/deadc0de6/dotdrop/graph/badge.svg?token=SscGyrtgYL)](https://codecov.io/github/deadc0de6/dotdrop)
![CodeQL](https://github.com/deadc0de6/dotdrop/workflows/CodeQL/badge.svg)
[![Python](https://img.shields.io/pypi/pyversions/dotdrop.svg)](https://pypi.python.org/pypi/dotdrop)

View File

@@ -12,4 +12,4 @@ if [ -n "${WORKERS}" ]; then
fi
mkdir -p coverages/
coverage run -p --data-file coverages/coverage -m pytest tests -x
coverage run -p --data-file coverages/coverage --source=dotdrop -m pytest tests -x

1
tests.sh vendored
View File

@@ -41,6 +41,7 @@ echo "tests-ng..."
# merge coverage
coverage combine coverages/*
coverage xml
# test doc
echo "checking documentation..."