1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-09 05:59:15 +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 ./tests.sh
env: env:
DOTDROP_WORKERS: 4 DOTDROP_WORKERS: 4
- name: Coveralls - name: Upload coverage reports to Codecov
run: | uses: codecov/codecov-action@v3
pip install coveralls with:
coveralls --version files: coverage.xml
coveralls --service=github
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

1
.gitignore vendored
View File

@@ -13,6 +13,7 @@ venv
.coverage* .coverage*
htmlcov htmlcov
coverages/ coverages/
coverage.xml
# IDE # IDE
.idea/ .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) [![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) [![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) ![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) [![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 fi
mkdir -p coverages/ 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 # merge coverage
coverage combine coverages/* coverage combine coverages/*
coverage xml
# test doc # test doc
echo "checking documentation..." echo "checking documentation..."