From 9253ed04643889329b4f9abd02f168e681574246 Mon Sep 17 00:00:00 2001 From: lsh23 Date: Tue, 12 Dec 2023 11:53:24 +0900 Subject: [PATCH 1/3] =?UTF-8?q?[BE]=20chore:=20codecov=20report=20?= =?UTF-8?q?=EC=97=B0=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/be.ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/be.ci.yml b/.github/workflows/be.ci.yml index f9508cec..efb69e0e 100644 --- a/.github/workflows/be.ci.yml +++ b/.github/workflows/be.ci.yml @@ -87,4 +87,8 @@ jobs: working-directory: ./BE - name: Run tests run: npm test - working-directory: ./BE \ No newline at end of file + working-directory: ./BE + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file From c94d5fa254799c0a3abc9f094eb0413cc71a18e2 Mon Sep 17 00:00:00 2001 From: lsh23 Date: Tue, 12 Dec 2023 12:16:55 +0900 Subject: [PATCH 2/3] =?UTF-8?q?[BE]=20chore:=20test:cov=20=EC=8B=A4?= =?UTF-8?q?=ED=96=89=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/be.ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/be.ci.yml b/.github/workflows/be.ci.yml index efb69e0e..e582f53e 100644 --- a/.github/workflows/be.ci.yml +++ b/.github/workflows/be.ci.yml @@ -86,7 +86,7 @@ jobs: run: npm run build --if-present working-directory: ./BE - name: Run tests - run: npm test + run: npm run test:cov working-directory: ./BE - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 From 80cdb5bcd75e4fc8cb26704840a6c66b579cc63a Mon Sep 17 00:00:00 2001 From: lsh23 Date: Tue, 12 Dec 2023 13:34:32 +0900 Subject: [PATCH 3/3] =?UTF-8?q?[BE]=20docs:=20README=EC=97=90=20coverage?= =?UTF-8?q?=20badge=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6ab665c1..612ddbb2 100644 --- a/README.md +++ b/README.md @@ -180,6 +180,8 @@ ## BE +![example workflow](https://github.com/boostcampwm2023/iOS02-moti/actions/workflows/be.ci.yml/badge.svg) +[![codecov](https://codecov.io/github/boostcampwm2023/iOS02-moti/graph/badge.svg?token=KAFO13BSUK)](https://codecov.io/github/boostcampwm2023/iOS02-moti)
아키텍처
@@ -225,7 +227,7 @@
### 테스트 코드 -- coverage - 96% +- [![codecov](https://codecov.io/github/boostcampwm2023/iOS02-moti/graph/badge.svg?token=KAFO13BSUK)](https://codecov.io/github/boostcampwm2023/iOS02-moti) - 총 테스트 케이스 550여개 - Repository layer 테스트 - DB 연동하여 실제 쿼리 실행 결과에 대한 테스트 @@ -262,7 +264,7 @@ ### iOS ```Swift``` ```UIKit``` ```Code Based UI``` ```SPM``` ```MVVM``` ```Clean Architecture``` ```SwiftLint``` ### BE -```TypeScript``` ```NestJS``` ```Jest``` ```MySQL``` ```Redis``` ```Docker``` +```TypeScript``` ```NestJS``` ```Jest``` ```Typeorm``` ```MySQL``` ```Redis``` ```Docker```