makefile.yml 666 B

123456789101112131415161718192021222324252627282930313233
  1. name: "`make build`"
  2. on:
  3. push:
  4. branches: [ master ]
  5. pull_request:
  6. branches: [ master ]
  7. jobs:
  8. build:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v2
  12. - uses: satackey/action-docker-layer-caching@v0.0.11
  13. # Ignore the failure of a step and avoid terminating the job.
  14. continue-on-error: true
  15. with:
  16. key: docker-image-version-1-{hash}
  17. - name: Complete Makefile build
  18. run: make build
  19. - name: Code coverage report
  20. run: make tests-coverage
  21. - name: Send coverage report to codecov
  22. uses: codecov/codecov-action@v2
  23. with:
  24. files: clover.xml
  25. verbose: true