Skip to main content

Micro-CI

Micro-CI is a tiny package that allow you to run entire continuous integration (CI) pipelines locally, without having to run all commands manually or maintaining separate scripts for it.

:warning: This project is still in alpha stage. This means that interfaces might change more often than expected. If you have any kind of issue, please drop me a line: edgar.klenske@gauss-ml.com.

Introduction

Have you ever pushed to a git repository, just to see one component of the CI pipeline fail? The next time you run pylint, mypy, flake8 and all the other tools manually before pushing changes. Maybe you have created a script. Or you even set up pre-commit hooks to run things automatically. But once something changes in the CI pipeline, you have to update your pre-commit hooks again. That's a waste of time!

Micro-CI reads the GitLab CI configuration file .gitlab-ci.yml and lets you run all stages with one command. Therefore, your local dry-run is always consistent with the "official" CI pipeline.

Getting Started

You can install Micro-CI with PIP easily:

pip install micro-ci

From now on, you can just run mci in the folder where your .gitlab-ci.yml file is located.

mci runs in the context merge_request, so that all those stages should be executed that are run in a merge request pipeline.

Release files for micro-ci 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for micro-ci 0.1.2
File Size Uploaded
micro_ci-0.1.2.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for micro-ci 0.1.2
File Interpreter ABI Platform
micro_ci-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / micro_ci-0.1.2.tar.gz

Download URL micro_ci-0.1.2.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
70c4d31a51278f8dfb1fabc4f66143f85d57f82012564850c4f4a2b419365589
BLAKE2b-256 checksum
How to use checksums
9535e38e0b20f0330321d73a1ba4bb201eec9689e2abb634f243ebd1897566db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

Release files / micro_ci-0.1.2-py3-none-any.whl

Download URL micro_ci-0.1.2-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a8eb25e6277729b65da9a2faad62f5a9fe3daa17c78f8ae9618c273f8fb0911
BLAKE2b-256 checksum
How to use checksums
0baf247860cdeaad782ab398c7fba949ba309e82e9696ee78550323766a2df39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page