mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-11-16 00:28:25 +01:00
Testing
This commit is contained in:
parent
7a5bb05912
commit
d35acca21e
5 changed files with 11 additions and 6 deletions
2
.github/workflows/python-package.yml
vendored
2
.github/workflows/python-package.yml
vendored
|
@ -31,6 +31,8 @@ jobs:
|
|||
run: |
|
||||
make lint
|
||||
- name: Test with pytest
|
||||
env:
|
||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||
run: |
|
||||
make test-coverage
|
||||
- name: Coveralls
|
||||
|
|
1
Makefile
1
Makefile
|
@ -52,6 +52,7 @@ test-debug: ## run tests with debugging enabled
|
|||
test-coverage: ## check code coverage quickly with the default Python
|
||||
coverage run --source gitinspector -m pytest
|
||||
coverage report -m
|
||||
coveralls
|
||||
|
||||
release: dist ## package and upload a release
|
||||
twine upload dist/*
|
||||
|
|
5
Pipfile
5
Pipfile
|
@ -4,14 +4,15 @@ verify_ssl = true
|
|||
name = "pypi"
|
||||
|
||||
[packages]
|
||||
twine = "*"
|
||||
coverage = "*"
|
||||
|
||||
[dev-packages]
|
||||
pytest = "*"
|
||||
flake8 = "*"
|
||||
autopep8 = "*"
|
||||
black = "*"
|
||||
twine = "*"
|
||||
coverage = "*"
|
||||
coveralls = "*"
|
||||
|
||||
[requires]
|
||||
python_version = "3.8"
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
[![Latest release](https://img.shields.io/github/release/ejwa/gitinspector.svg?style=flat-square)](https://github.com/ejwa/gitinspector/releases/latest)
|
||||
[![License](https://img.shields.io/github/license/ejwa/gitinspector.svg?style=flat-square)](https://github.com/ejwa/gitinspector/blob/master/LICENSE.txt)
|
||||
[![Coverage Status](https://coveralls.io/repos/github/jpwhite3/gitinspector/badge.svg?branch=master)](https://coveralls.io/github/jpwhite3/gitinspector?branch=master)
|
||||
[![Latest release](https://img.shields.io/github/release/jpwhite3/gitinspector.svg?style=flat-square)](https://github.com/jpwhite3/gitinspector/releases/latest)
|
||||
[![License](https://img.shields.io/github/license/jpwhite3/gitinspector.svg?style=flat-square)](https://github.com/jpwhite3/gitinspector/blob/master/LICENSE.txt)
|
||||
<h2>
|
||||
<img align="left" height="65px"
|
||||
src="https://raw.githubusercontent.com/ejwa/gitinspector/master/gitinspector/html/gitinspector_piclet.png"/>
|
||||
src="https://raw.githubusercontent.com/jpwhite3/gitinspector/master/gitinspector/html/gitinspector_piclet.png"/>
|
||||
About Gitinspector
|
||||
</h2>
|
||||
<img align="right" width="30%" src="https://raw.github.com/wiki/ejwa/gitinspector/images/html_example.jpg" />
|
||||
<img align="right" width="30%" src="https://raw.github.com/wiki/jpwhite3/gitinspector/images/html_example.jpg" />
|
||||
Gitinspector is a statistical analysis tool for git repositories. The default analysis shows general statistics per author, which can be complemented with a timeline analysis that shows the workload and activity of each author. Under normal operation, it filters the results to only show statistics about a number of given extensions and by default only includes source files in the statistical analysis.
|
||||
|
||||
This tool was originally written to help fetch repository statistics from student projects in the course Object-oriented Programming Project (TDA367/DIT211) at Chalmers University of Technology and Gothenburg University.
|
||||
|
|
Loading…
Reference in a new issue