fix(SV adapter): recovering lost LP share due to SV freeze period bug… #389
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
| name: Code coverage | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| env: | |
| CARGO_TERM_COLOR: always | |
| CARGO_NET_GIT_FETCH_WITH_CLI: true | |
| jobs: | |
| code-coverage: | |
| name: Code coverage | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Cancel Previous Runs | |
| uses: styfle/cancel-workflow-action@0.12.1 | |
| with: | |
| access_token: ${{ github.token }} | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/bin | |
| ~/.cargo/git/checkouts | |
| ~/.cargo/git/db | |
| ~/.cargo/registry/cache | |
| ~/.cargo/registry/index | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-cargo- | |
| - name: Install stable toolchain | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| profile: minimal | |
| toolchain: 1.81.0 | |
| override: true | |
| - name: Install cargo-tarpaulin | |
| run: cargo install --locked cargo-tarpaulin@0.32.0 || true | |
| - name: Run cargo-tarpaulin | |
| run: cargo tarpaulin --out Xml | |
| - name: Upload to codecov.io | |
| if: github.ref == 'refs/heads/main' | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| token: ${{secrets.CODECOV_TOKEN}} | |
| fail_ci_if_error: true |