From b7d6d67af78dd5ca597915257b217738e78eade2 Mon Sep 17 00:00:00 2001 From: zhouhao Date: Tue, 13 Aug 2024 14:48:32 +0800 Subject: [PATCH] refactor: add pull request test --- .github/workflows/pull_request.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index d8d9518..df9e344 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -18,4 +18,9 @@ jobs: path: ~/.m2 key: ${{ runner.os }}-${{ hashFiles('**/pom.xml') }} - name: Build with Maven - run: ./mvnw test \ No newline at end of file + run: ./mvnw test + - name: Codecov + uses: codecov/codecov-action@v2.1.0 + with: + # Repository upload token - get it from codecov.io. Required only for private repositories + token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file