From f855d161881a288f4f39c14a7f1c4bfb25b850c6 Mon Sep 17 00:00:00 2001 From: Daniel Milchev Date: Mon, 15 Jan 2024 14:36:56 +0200 Subject: [PATCH] [#92] Added coverage label and changed kanto logo to open the main page of the site. --- .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 08f3fa7..9c95be8 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 Upload +[![Coverage](https://github.com/eclipse-kanto/file-upload/wiki/coverage.svg)](#) + ## Overview File upload between the edge and the cloud backend can enable a variety of use cases related to edge diagnostics and monitoring, as well as system backup and restore.