Skip to content

Commit

Permalink
ci: setup codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Aug 25, 2023
1 parent 1c06dc8 commit d4ca1d9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .fluentci/src/github/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ export function generateYaml(): Workflow {
name: "Run Dagger Pipelines",
run: "dagger run fluentci deno_pipeline fmt lint test",
},
{
name: "Upload Coverage",
run: "fluentci run codecov_pipeline",
env: {
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}",
},
},
],
};

Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ jobs:
run: deno install -A -r https://cli.fluentci.io -n fluentci
- name: Setup Dagger
run: |
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.1 sh
sudo mv bin/dagger /usr/local/bin
dagger version
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.1 sh
sudo mv bin/dagger /usr/local/bin
dagger version
- name: Run Dagger Pipelines
run: dagger run fluentci deno_pipeline fmt lint test
- name: Upload Coverage
run: fluentci run codecov_pipeline
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit d4ca1d9

Please sign in to comment.