Skip to content

asitdikovs/ci-demo-python

Repository files navigation

CI Demo Python

This repository demonstrates a basic CI setup for a Python project using GitHub Actions and Docker.

Features

  • Unit testing with pytest
  • Code linting with flake8
  • GitHub Actions workflow for CI
  • Docker support

Local Usage

Install dependencies:

pip install -r requirements.txt

Run tests:

pytest

Run linter:

flake8 .

Run with Docker

Build image:

docker build -t python-ci-demo .

Run container (executes tests):

docker run --rm python-ci-demo

GitHub Actions

CI runs on every push and pull request to the main branch, running tests and lint checks.

About

Repository for learning CI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published