Skip to content

Commit

Permalink
ci: setup codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Nov 13, 2023
1 parent c572515 commit 3ebe7c1
Show file tree
Hide file tree
Showing 5 changed files with 156 additions and 326 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,9 @@ jobs:
uses: fluentci-io/setup-fluentci@v1
- name: Run Dagger Pipelines
run: |
deno install --import-map=https://deno.land/x/fluentci@v0.8.0/import_map.json -A -r -f https://deno.land/x/fluentci@v0.8.0/main.ts -n fluentci
fluentci run deno_pipeline fmt lint
deno install --import-map=https://deno.land/x/fluentci@v0.8.1/import_map.json -A -r -f https://deno.land/x/fluentci@v0.8.0/main.ts -n fluentci
fluentci run deno_pipeline fmt lint test
- name: Upload to Codecov
run: fluentci run codecov_pipeline
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
17 changes: 16 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,20 @@
"esm:add": "deno run -A https://esm.sh/v128 add",
"esm:update": "deno run -A https://esm.sh/v128 update",
"esm:remove": "deno run -A https://esm.sh/v128 remove"
},
"fmt": {
"exclude": [
".fluentci/"
]
},
"lint": {
"exclude": [
".fluentci/"
]
},
"test": {
"exclude": [
".fluentci/"
]
}
}
}
Loading

0 comments on commit 3ebe7c1

Please sign in to comment.