Skip to content

Commit

Permalink
Setup codecov in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
m-Peter committed Aug 10, 2023
1 parent 709fe00 commit 9d5e060
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ jobs:
- name: Install Flow CLI
run: bash -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)"
- name: Run tests
run: flow test --cover --covercode="contracts" tests/test_*.cdc
run: flow test --cover --covercode="contracts" --coverprofile=coverage.lcov --tests/test_*.cdc
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
coverage.lcov

0 comments on commit 9d5e060

Please sign in to comment.