This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Edge cases covered for calculate_fee, waste, effective_value (#106) #27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| name: coverage | |
| jobs: | |
| check: | |
| name: Rust project | |
| runs-on: ubuntu-latest | |
| container: | |
| image: xd009642/tarpaulin:develop-nightly | |
| options: --security-opt seccomp=unconfined | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Generate code coverage | |
| run: | | |
| cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml | |
| - name: Upload to codecov.io | |
| uses: codecov/codecov-action@v3 | |
| # with: | |
| # token: ${{secrets.CODECOV_TOKEN}} # not required for public repos | |
| # fail_ci_if_error: true |