diff --git a/.github/workflows/generate-coverage-report.yaml b/.github/workflows/generate-coverage-report.yaml new file mode 100644 index 0000000..b5b1989 --- /dev/null +++ b/.github/workflows/generate-coverage-report.yaml @@ -0,0 +1,12 @@ +name: Create Coverage + +on: + push: + branches: + - main + +jobs: + generate-coverage-report: + uses: eclipse-kanto/kanto/.github/workflows/coverage-template.yaml@main + with: + coverage-command: go test ./... -coverprofile=coverage.out -covermode count diff --git a/README.md b/README.md index 828449b..6c00ca6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ -![Kanto logo](https://github.com/eclipse-kanto/kanto/raw/main/logo/kanto.svg) +[![Kanto logo](https://github.com/eclipse-kanto/kanto/raw/main/logo/kanto.svg)](https://eclipse.dev/kanto/) # Eclipse Kanto - File Backup +[![Coverage](https://github.com/eclipse-kanto/file-backup/wiki/coverage.svg)](#) + ## Overview The backup and restore functionality gives the ability to configure the edge from the backend to backup or restore folders, either on demand or periodically.