From 8bdc0c8357b6088f11b18fb1788b7ed68e94f4ad Mon Sep 17 00:00:00 2001 From: Rafael Gomes Pereira Date: Sun, 25 Aug 2024 21:36:48 -0300 Subject: [PATCH 1/2] feat(#56): includes codecov on quality pipeline --- .github/workflows/quality.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index 1dd7500..3aaeb5a 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -3,7 +3,10 @@ name: Node.js API Quality on: pull_request: branches: + - main - develop + push: + branches: - main jobs: @@ -28,5 +31,10 @@ jobs: - name: Run tests run: npm run test + - name: Upload results to Codecov + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + - name: Run build - run: npm run build \ No newline at end of file + run: npm run build From 6a8787638e415657e53c83998b7d9fe6d341c4c4 Mon Sep 17 00:00:00 2001 From: Rafael Gomes Pereira Date: Sun, 25 Aug 2024 21:41:09 -0300 Subject: [PATCH 2/2] docs(#56): includes codecov pin --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5f59049..770266e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 2024-1-Squad05 - +[![codecov](https://codecov.io/gh/unb-mds/2024-1-EducaMinas-backend/graph/badge.svg?token=RL1Q0kz1Ay)](https://codecov.io/gh/unb-mds/2024-1-EducaMinas-backend) ## Equipe