From 52b46ceab28b90ef6f6b6253593104d1df794435 Mon Sep 17 00:00:00 2001 From: Daniel Milchev Date: Mon, 15 Jan 2024 17:04:17 +0200 Subject: [PATCH] Added coverage label and changed kanto logo to open the main page of the site. (#52) [#51] Add workflow for unit test code coverage results - File Backup Signed-off-by: Daniel Milchev fixed-term.daniel.milchev@bosch.io --- .github/workflows/generate-coverage-report.yaml | 12 ++++++++++++ README.md | 4 +++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/generate-coverage-report.yaml 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.