Skip to content

Commit

Permalink
update : codecov ci step
Browse files Browse the repository at this point in the history
  • Loading branch information
ocdbytes committed Aug 8, 2024
1 parent 2b0bc5e commit 1ec40ac
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/test-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,19 @@ jobs:
echo "Running madara...."
./run_madara.sh
- name: Check if token is accessible
run: |
echo "Token : ${{ secrets.CODECOV_TOKEN }} here"
- name: Run tests
run: |
echo "Running test...."
cargo tarpaulin --out Html
sleep 5 # sleeping for few secs to ensure the coverage file is generated.
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
verbose: true
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 1ec40ac

Please sign in to comment.