coverage.yml 549 B

12345678910111213141516171819202122
  1. on:
  2. push:
  3. branches: [staging, trying]
  4. pull_request:
  5. name: Coverage
  6. jobs:
  7. coverage:
  8. runs-on: ubuntu-22.04
  9. steps:
  10. - uses: actions/checkout@v2
  11. - name: Install `cargo llvm-cov`
  12. uses: taiki-e/install-action@cargo-llvm-cov
  13. - name: Run Coverage
  14. run: ./ci.sh coverage
  15. - name: Upload coverage to Codecov
  16. uses: codecov/codecov-action@v3
  17. with:
  18. #token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
  19. files: lcov.info
  20. fail_ci_if_error: false