v0.9.0
A ready-to-use CI/CD Pipeline that uploads coverage to Codecov ☂️
Attributes
Includes Deno configuration
Repository
Current version released
8 months ago
Dependencies
other
jsr:@std/flags@0.218.2jsr:@std/fmt@0.218.2/colorsjsr:@std/path@0.218.2jsr:@std/testing@0.218.2/assertsjsr:@tsirysndr/fluent-az-pipelines@0.3jsr:@tsirysndr/fluent-circleci@0.3jsr:@tsirysndr/fluent-codepipeline@0.3jsr:@tsirysndr/fluent-gh-actions@0.3jsr:@tsirysndr/fluent-gitlab-ci@0.5npm:graphql-request@6.1.0npm:graphql@16.8.1npm:lodash@4.17.21npm:node-color-log@11.0.2npm:stringify-tree@1.1.1
Codecov Pipeline
A ready-to-use CI/CD Pipeline that uploads coverage to Codecov ☂️.
🚀 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();