You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/05/15 06:54:08 UTC

[GitHub] [shardingsphere] terrymanu commented on a diff in pull request #17660: Migrate test-coverage report from Travis to GitHub Action

terrymanu commented on code in PR #17660:
URL: https://github.com/apache/shardingsphere/pull/17660#discussion_r873119351


##########
.github/workflows/ci.yml:
##########
@@ -186,3 +186,33 @@ jobs:
         run: ./mvnw -B clean install -Dmaven.javadoc.skip=true -Drat.skip=true -Dcheckstyle.skip=true -DskipITs -DskipTests -Dspotless.apply.skip=true
       - name: Run Example generator
         run: echo y | ./mvnw -B test -f examples/shardingsphere-example-generator/pom.xml -Pexample-generator
+
+  test-coverage-report:
+    runs-on: ubuntu-latest
+    name: shardingsphere test-coverage report
+    steps:
+      - uses: actions/checkout@v2
+      - name: Maven resolve ranges
+        run: ./mvnw versions:resolve-ranges -ntp -Dincludes='org.springframework:*,org.springframework.boot:*'
+      - name: Cache Maven Repos
+        uses: actions/cache@v2
+        with:
+          path: ~/.m2/repository
+          key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+          restore-keys: |
+            ${{ runner.os }}-maven-
+#      - name: Shutdown Ubuntu MySQL(SUDO)
+#        run: sudo service mysql stop
+#      - name: Set up MySQL
+#        uses: mirromutth/mysql-action@v1.1
+#        with:
+#          mysql root password: "root"

Review Comment:
   Can we remove the commented lines?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org