rhi

Coordinated trade for connected markets
git clone https://radroots.dev/git/rhi.git
Log | Files | Refs | README | LICENSE

coverage.yml (844B)


      1 name: coverage
      2 
      3 on:
      4   push:
      5     branches:
      6       - master
      7   pull_request:
      8 
      9 jobs:
     10   gate:
     11     name: strict coverage gate
     12     runs-on: ubuntu-latest
     13     timeout-minutes: 30
     14     steps:
     15       - name: checkout
     16         uses: actions/checkout@v4
     17 
     18       - name: install nightly toolchain
     19         uses: dtolnay/rust-toolchain@nightly
     20         with:
     21           components: llvm-tools-preview
     22 
     23       - name: install cargo-llvm-cov
     24         uses: taiki-e/install-action@cargo-llvm-cov
     25 
     26       - name: rust cache
     27         uses: Swatinem/rust-cache@v2
     28 
     29       - name: run strict gate
     30         run: make coverage-gate
     31 
     32       - name: upload coverage artifacts
     33         if: always()
     34         uses: actions/upload-artifact@v4
     35         with:
     36           name: coverage-artifacts
     37           path: |
     38             target/coverage/summary.json
     39             target/coverage/lcov.info