Skip to content

Commit 6d92f88

Browse files
2 parents a8c6d48 + 4566951 commit 6d92f88

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

Diff for: README.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
![ci build results](https://github.com/JuliusWiedemann/PythonCIExample/actions/workflows/python-ci.yml/badge.svg)
2-
![coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/JuliusWiedemann/d506acc54dead9ca1d070488e813d253/raw/coverage.json)
32
![pylint-score](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/JuliusWiedemann/d506acc54dead9ca1d070488e813d253/raw/pylint-score.json)
3+
![mypy-warnings](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/JuliusWiedemann/d506acc54dead9ca1d070488e813d253/raw/mypy_warnings.json)
4+
![coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/JuliusWiedemann/d506acc54dead9ca1d070488e813d253/raw/coverage.json)
45
[![license](https://img.shields.io/badge/License-MIT-purple.svg)](LICENSE)
56

67
# 🏗️ Python Continuous Integration - Example
78

89
This repo shows a basic example of CI/CD in python with github actions
10+
Navigate to the branch [example-failed-unittest](https://github.com/JuliusWiedemann/PythonCIExample/tree/example-failed-unittest) or [example-failed-pylint](https://github.com/JuliusWiedemann/PythonCIExample/tree/example-failed-pylint) to view what a failed build will look like.
911

1012
## Features
11-
- 🗒️ Static code analysis with pylint
12-
- 🧑‍🔬 Testing with python unittest module
13-
- ✏️ Code coverage with coverage module
13+
- Static code analysis with pylint
14+
- Type checking with mypy
15+
- Testing with python unittest module
16+
- Code coverage with coverage module
17+
18+
## Usage
19+
- Download the source code and use it as a template for your new python project
20+
- You need to follow [this](https://github.com/marketplace/actions/dynamic-badges) configuration to use the dynamic badges. Alternative: Just remove the "Create Badge" step from the yml file to disable the feature
1421

1522
## Output
1623
![](images/ci-report.png)

0 commit comments

Comments
 (0)