codecov.yml 556 B

12345678910111213141516171819202122232425
  1. name: Coverage
  2. on:
  3. push:
  4. branches: ['master']
  5. pull_request:
  6. jobs:
  7. coverage:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v1
  11. - uses: actions-rs/toolchain@v1
  12. with:
  13. profile: minimal
  14. toolchain: stable
  15. override: true
  16. - uses: actions-rs/tarpaulin@v0.1
  17. - uses: codecov/codecov-action@v1.0.2
  18. with:
  19. token: ${{secrets.CODECOV_TOKEN}}
  20. - uses: actions/upload-artifact@v1
  21. with:
  22. name: code-coverage-report
  23. path: cobertura.xml