Skip to content

JuliusWiedemann/PythonCIExample

Repository files navigation

Main Branch Buildresults ci build results pylint-score mypy-warnings coverage license

🏗️ Python Continuous Integration - Example

This repository shows a basic example of CI/CD in python with GitHub Actions. It can be used as a template to set up a new Python project.

Navigate to the branch example-failed-unittest or example-failed-pylint to view what a failed build will look like.

Features

  • Static code analysis with pylint.
  • Type checking with mypy.
  • Testing with python unittest module.
  • Code coverage with coverage module.

Usage

  • Download the source code and use it as a template for your new python project.
  • You need to follow this configuration to use the dynamic badges. Alternative: Just remove the "Create Badge" step from the yml file to disable the feature.

Output

An example build can look like this:


Python Lecture for DHBW - Computer Science

🧑 Julius Wiedemann

About

Python Continuous Integration - GitHub Actions

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages