A ready-to-use Pipeline for your Python projects.
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 .
Use as a Dagger module:
dagger install github.com/fluent-ci-templates/python-pipeline@main
Variable | Description | Default |
---|---|---|
PACKAGE_MANAGER |
The package manager to use (poetry , pip , pipenv ) |
poetry |
Job | Description |
---|---|
test | Run tests (using pytest) |
test(
src?: Directory | string,
packageManager?: string
): Promise<string>
You can also use this pipeline programmatically:
import { test } from "jsr:@fluentci/python";
await test();