From ed46addab1929d1530877911a76b6621106e40e8 Mon Sep 17 00:00:00 2001 From: karn Date: Tue, 24 Dec 2024 04:17:36 +0530 Subject: [PATCH] add codecov --- .github/workflows/go-test.yaml | 10 ++++++++-- readme.md | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go-test.yaml b/.github/workflows/go-test.yaml index 9aa8138..e0a96b7 100644 --- a/.github/workflows/go-test.yaml +++ b/.github/workflows/go-test.yaml @@ -42,5 +42,11 @@ jobs: - name: Install dependencies run: go mod tidy - - name: Run tests - run: go test -v ./... \ No newline at end of file + - name: Run Tests with coverage + run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} + slug: karngyan/maek diff --git a/readme.md b/readme.md index c432592..9c6c5f8 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,7 @@ ### maek: open source note-taking app +![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg) + maek is an open source, self-hostable alternative to apps like mem.ai. it’s designed to help you take notes, organize your thoughts, and access them seamlessly. whether you’re jotting down quick ideas or managing a detailed knowledge base, maek aims to simplify the process. ![maek](.github/assets/hero.jpeg)