Skip to content

Commit

Permalink
ci: fix codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Oct 29, 2023
1 parent bff8f47 commit c7ab93a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .fluentci/src/github/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ export function generateYaml() {
},
{
name: "Run Dagger Pipelines",
run: "fluentci run . fmt lint test codecov",
run: "fluentci run . fmt lint test",
},
{
name: "Upload to Codecov",
run: "fluentci run codecov_pipeline",
env: {
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}",
},
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ 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.8 sh
sudo mv bin/dagger /usr/local/bin
dagger version
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.8 sh
sudo mv bin/dagger /usr/local/bin
dagger version
- name: List Jobs
run: fluentci ls .
- name: Run Dagger Pipelines
run: fluentci run . fmt lint test codecov
run: fluentci run . fmt lint test
- name: Upload to Codecov
run: fluentci run codecov_pipeline
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit c7ab93a

Please sign in to comment.