You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by mi...@apache.org on 2022/05/07 02:33:01 UTC

[incubator-eventmesh] 01/01: [MINOR] update ci.yml enable codecov

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

mikexue pushed a commit to branch xwm1992-patch-2
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git

commit 430137c09808de34f05fd5ddcb2e695dce8d29b6
Author: mike_xwm <mi...@126.com>
AuthorDate: Sat May 7 10:32:56 2022 +0800

    [MINOR] update ci.yml enable codecov
---
 .github/workflows/ci.yml | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4f13a2aa..b5208794 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -38,6 +38,15 @@ jobs:
     steps:
       - name: Checkout repository
         uses: actions/checkout@v2
+        
+      - name: Initialize CodeQL
+        uses: github/codeql-action/init@v1
+        with:
+          # If you wish to specify custom queries, you can do so here or in a config file.
+          # By default, queries listed here will override any specified in a config file.
+          # Prefix the list here with "+" to use these queries and those in the config file.
+          # queries: ./path/to/local/query, your-org/your-repo/queries@main
+          languages: ${{ matrix.language }}
 
       - name: Set up JDK ${{ matrix.java }}
         uses: actions/setup-java@v1
@@ -49,6 +58,12 @@ jobs:
 
       - name: Install plugin
         run: ./gradlew installPlugin
+      
+      - name: Perform CodeQL analysis
+        uses: github/codeql-action/analyze@v1
+
+      - name: Upload coverage report to codecov.io
+        run: bash <(curl -s https://codecov.io/bash) || echo 'Failed to upload coverage report!'
 
   license-check:
     name: License Check
@@ -64,4 +79,4 @@ jobs:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Check third party dependencies
-        run: ./gradlew clean jar dist && ./gradlew installPlugin && ./gradlew tar && sh tools/third-party-dependencies/check-dependencies.sh && echo "Thirty party dependencies check success"
\ No newline at end of file
+        run: ./gradlew clean jar dist && ./gradlew installPlugin && ./gradlew tar && sh tools/third-party-dependencies/check-dependencies.sh && echo "Thirty party dependencies check success"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org