Skip to content

A ready-to-use CI/CD Pipeline for your Python projects

License

Notifications You must be signed in to change notification settings

fluent-ci-templates/python-pipeline

Repository files navigation

Python Pipeline

fluentci pipeline deno compatibility dagger-min-version

A ready-to-use Pipeline for your Python projects.

🚀 Usage

Run the following command in your project:

fluentci run python_pipeline

Or, if you want to use it as a template:

fluentci init -t python

This will create a .fluentci folder in your project.

Now you can run the pipeline with:

fluentci run .

Dagger Module

Use as a Dagger module:

dagger install github.com/fluent-ci-templates/python-pipeline@main

Environment variables

Variable Description Default
PACKAGE_MANAGER The package manager to use (poetry, pip, pipenv) poetry

Jobs

Job Description
test Run tests (using pytest)
test(
  src?: Directory | string,
  packageManager?: string
): Promise<string>

Programmatic usage

You can also use this pipeline programmatically:

import { test } from "jsr:@fluentci/python";

await test();