From ccd370052d2533e7ab0f2bb2723df6a13e874190 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Tue, 20 Jul 2021 01:35:21 +0700 Subject: [PATCH] ci: setup codecov --- .github/workflows/api.yml | 6 +++++- .github/workflows/pr.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index bed8425..35cf183 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -78,4 +78,8 @@ jobs: with: environment: production set_commits: skip - version: ${{ github.sha }} \ No newline at end of file + version: ${{ github.sha }} + + - uses: codecov/codecov-action@v2 + with: + flags: api \ No newline at end of file diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index b87eca8..b9ec564 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -121,4 +121,8 @@ jobs: languages: go - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 \ No newline at end of file + uses: github/codeql-action/analyze@v1 + + - uses: codecov/codecov-action@v2 + with: + flags: api \ No newline at end of file