Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 1.79 KB

README.md

File metadata and controls

65 lines (45 loc) · 1.79 KB

Codecov Pipeline

fluentci pipeline deno module deno compatibility dagger-min-version

A ready-to-use CI/CD Pipeline that uploads coverage to Codecov ☂️.

Made with VHS

🚀 Usage

Run the following command:

fluentci run codecov_pipeline

🧩 Dagger Module

Use as a Dagger Module:

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

Call upload function with the following command:

dagger call upload --src . --token CODECOV_TOKEN

🛠️ Environment Variables

Variable Description Usage
CODECOV_TOKEN Your Codecov token. Required
CODECOV_URL Your Codecov URL. Optional
COVERAGE_FILE Your coverage file. Optional

✨ Jobs

Job Description
upload Uploads coverage to Codecov.
upload(
  src: string | Directory,
  token: string | Secret
): Promise<string>

👨‍💻 Programmatic usage

You can also use this pipeline programmatically:

import { upload } from "jsr:@fluentci/codecov";

await upload();