This is an automated email from the ASF dual-hosted git repository.

tuichenchuxin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shardingsphere-on-cloud.git


The following commit(s) were added to refs/heads/main by this push:
     new 92f250e  feat(codecov): add codecov robot for operator
     new aefdfc7  Merge pull request #87 from windghoul/codecov
92f250e is described below

commit 92f250e8cc9c8d3c2d6f6c870333eadf051d57f1
Author: windghoul <[email protected]>
AuthorDate: Sat Oct 8 17:43:00 2022 +0800

    feat(codecov): add codecov robot for operator
    
    Signed-off-by: windghoul <[email protected]>
---
 .github/workflows/unit-test.yml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml
index e0a7806..89e8cd8 100644
--- a/.github/workflows/unit-test.yml
+++ b/.github/workflows/unit-test.yml
@@ -15,7 +15,7 @@
 # limitations under the License.
 #
 
-name: Unit Test 
+name: Unit Test
 
 on:
   pull_request
@@ -32,5 +32,9 @@ jobs:
           go-version: '^1.18.1'
       - name: "unit test"
         run: |
-          cd shardingsphere-operator/pkg/reconcile
-          go test --count=1 -race -coverprofile=coverage.txt -covermode=atomic 
-v ./...
\ No newline at end of file
+          cd shardingsphere-operator
+          go test --count=1 -race -coverprofile=coverage.txt -covermode=atomic 
-v ./...
+      - name: "Code coverage"
+        uses: codecov/codecov-action@v2
+        with:
+          files: ./shardingsphere-operator/coverage.txt

Reply via email to