Skip to content

Commit 269e7ba

Browse files
authored
Keep only codecov for code coverage (#29)
1 parent f5427a5 commit 269e7ba

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ on:
1212

1313
env:
1414
CI: "true"
15-
#CI_NAME: github
16-
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
1715

1816
jobs:
1917
build:
@@ -28,37 +26,9 @@ jobs:
2826
with:
2927
java-version: 1.8
3028

31-
#- name: Set url
32-
# run: echo ::set-env name=CI_BUILD_URL::$(echo ${GITHUB_REPOSITORY})
33-
34-
#- name: Set branch
35-
# run: echo ::set-env name=CI_BRANCH::$(echo ${GITHUB_REF})
36-
#- name: Set build number
37-
# run: echo ::set-env name=CI_BUILD_NUMBER::$(echo ${GITHUB_SHA})
38-
#- name: Set pr number
39-
# run: echo ::set-env name=CI_PULL_REQUEST::$(echo ${GITHUB_REF//[^0-9]/})
40-
# if: startsWith(github.ref, 'refs/pull/')
41-
42-
- name: CodeClimate
43-
run: curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
44-
- name: CodeClimate2
45-
run: chmod +x ./cc-test-reporter
46-
- name: before
47-
run: ./cc-test-reporter before-build
48-
4929
- name: Build with Gradle
50-
env:
51-
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
52-
#CI_BRANCH: ${{ github.ref }}
53-
#CI_PULL_REQUEST: ${{ github.pull_request.number }}
5430
run: ./gradlew assemble check --stacktrace
5531

56-
- name: after
57-
run: JACOCO_SOURCE_PATH=./fixture/src/main/kotlin ./cc-test-reporter format-coverage ./fixture/build/reports/jacoco/test/jacocoTestReport.xml --input-type jacoco
58-
#run: ./cc-test-reporter after-build --coverage-input-type=jacoco
59-
- name: after2
60-
run: ./cc-test-reporter upload-coverage
61-
6232
- name: Set tag version
6333
run: echo ::set-env name=CIRCLE_TAG::$(echo ${GITHUB_REF:10})
6434
if: startsWith(github.ref, 'refs/tags/')
@@ -74,11 +44,3 @@ jobs:
7444
uses: codecov/[email protected]
7545
with:
7646
token: ${{secrets.CODECOV_TOKEN}}
77-
78-
79-
#- name: Coveralls
80-
# uses: coverallsapp/[email protected]
81-
# with:
82-
# github-token: ${{ secrets.github_token }}
83-
# path-to-lcov: ./fixture/build/reports/jacoco/test/jacocoTestReport.xml
84-

0 commit comments

Comments
 (0)