Skip to main content
Deno 2 is finally here 🎉️
Learn more

Codecov Pipeline

fluentci pipeline deno module deno compatibility

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

🚀 Usage

Run the following command:

dagger run fluentci codecov_pipeline

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.

Programmatic usage

You can also use this pipeline programmatically:

import { Client, connect } from "https://esm.sh/@dagger.io/dagger@0.8.1";
import { Dagger } from "https://deno.land/x/codecov_pipeline/mod.ts";

const { upload } = Dagger;

function pipeline(src = ".") {
  connect(async (client: Client) => {
    await upload(client, src);
  });
}

pipeline();