codecov.yml 706 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@v2.1.0
  18. # A codecov token is not needed for public repos if the repo is linked
  19. # on codecov.io. See https://docs.codecov.com/docs/frequently-asked-questions#where-is-the-repository-upload-token-found
  20. - uses: actions/upload-artifact@v1
  21. with:
  22. name: code-coverage-report
  23. path: cobertura.xml