This is an automated email from the ASF dual-hosted git repository. haonan pushed a commit to branch coveralls in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 82a578ceee802ea293474abe23c6f90c85acd485 Author: HTHou <[email protected]> AuthorDate: Wed May 31 10:06:02 2023 +0800 enable coveralls --- .github/workflows/sonar-coveralls.yml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.github/workflows/sonar-coveralls.yml b/.github/workflows/sonar-coveralls.yml index f79f3015b59..0c8a27fa05d 100644 --- a/.github/workflows/sonar-coveralls.yml +++ b/.github/workflows/sonar-coveralls.yml @@ -7,6 +7,7 @@ on: push: branches: - master + - coveralls - "rel/*" - "new_*" paths-ignore: @@ -44,19 +45,14 @@ jobs: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2- -# - name: IT/UT Test -# # we do not compile client-cpp for saving time, it is tested in client.yml -# run: mvn -B clean compile post-integration-test -Dcluster.test.skip=true -Dtest.port.closed=true -Pcode-coverage -P '!testcontainer,!influxdb-protocol' -# - name: Code Coverage (Coveralls) -# if: ${{ success() }} -# run: | -# mvn -B post-integration-test -Pcode-coverage -pl code-coverage -# mvn -B coveralls:report \ -# -DserviceName=travis_ci \ -# -Dbranch=$BRANCH_NAME \ -# -DpullRequest=$PR_NUMBER \ -# -DrepoToken=${{ secrets.COVERALL_TOKEN }} \ -# -Pcode-coverage -P '!testcontainer' + - name: Test + # we do not compile client-cpp for saving time, it is tested in client.yml + run: mvn -B clean test -Dtest.port.closed=true -Dcluster.test.skip=true -Dtest.port.closed=true + - name: Coveralls GitHub Action + uses: coverallsapp/github-action@v1 + with: + github-token: ${{ secrets.COVERALL_TOKEN }} + - name: SonarCloud Report if: ${{ success() }} env:
