Projects STRLCPY cfonts Commits ea77f075
🤬
  • ■ ■ ■ ■ ■ ■
    .github/workflows/testing.yml
    skipped 158 lines
    159 159   - name: Yarn test
    160 160   run: yarn test
    161 161   
    162  - 
     162 + # -------------------------------| COVERAGE |------------------------------- #
     163 + # ***********
     164 + # COVERAGE - nodejs
     165 + # ***********
    163 166   coverage-nodejs:
    164 167   needs: test-nodejs
    165 168   strategy:
    skipped 43 lines
    209 212   with:
    210 213   github-token: ${{ secrets.GITHUB_TOKEN }}
    211 214   path-to-lcov: ./nodejs/coverage/lcov.info
     215 + parallel: true
    212 216   base-path: ./nodejs
    213 217   
     218 + # ***********
     219 + # COVERAGE - rust
     220 + # ***********
     221 + coverage-rust:
     222 + needs: test-rust
     223 + strategy:
     224 + matrix:
     225 + os:
     226 + - ubuntu-latest
     227 + runs-on: ${{ matrix.os }}
     228 + defaults:
     229 + run:
     230 + working-directory: ./rust
     231 + 
     232 + steps:
     233 + - uses: actions/checkout@v2
     234 + 
     235 + - uses: actions-rs/toolchain@v1
     236 + with:
     237 + toolchain: stable
     238 + 
     239 + - name: Run Makefile
     240 + run: make
     241 + 
     242 + - name: Install Rust
     243 + run: rustup toolchain install stable --component llvm-tools-preview
     244 + 
     245 + - name: Install cargo-llvm-cov
     246 + uses: taiki-e/install-action@cargo-llvm-cov
     247 + 
     248 + - name: Generate code coverage
     249 + run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
     250 + 
     251 + - name: Print last few lines of lcov.info
     252 + run: tail ./lcov.info
     253 + 
     254 + - name: Upload to coveralls
     255 + uses: coverallsapp/github-action@master
     256 + with:
     257 + github-token: ${{ secrets.GITHUB_TOKEN }}
     258 + path-to-lcov: ./rust/lcov.info
     259 + parallel: true
     260 + 
     261 + # ***********
     262 + # COVERAGE - finalizing
     263 + # ***********
     264 + coverage-finish:
     265 + needs: [coverage-nodejs, coverage-rust]
     266 + strategy:
     267 + matrix:
     268 + os:
     269 + - ubuntu-latest
     270 + runs-on: ${{ matrix.os }}
     271 + steps:
     272 + - name: Coveralls Parallel Build Finished
     273 + uses: coverallsapp/[email protected]
     274 + with:
     275 + github-token: ${{ secrets.github_token }}
     276 + parallel-finished: true
     277 + 
Please wait...
Page is in error, reload to recover