Skip to content

Commit

Permalink
Skip report coverage till time when service coveralls.io will up
Browse files Browse the repository at this point in the history
  • Loading branch information
vkatsuba committed Sep 21, 2021
1 parent f0b5df5 commit db64a59
Showing 1 changed file with 23 additions and 24 deletions.
47 changes: 23 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,13 @@ jobs:
run: tools/test.sh -p $PRESET -s true -e true
- name: prepare coverage report
run: ./rebar3 codecov analyze --lcov --json false
- name: report coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: small_tests on OTP ${{matrix.otp}}
path-to-lcov: ./lcov.info
parallel: true

# - name: report coverage
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# flag-name: small_tests on OTP ${{matrix.otp}}
# path-to-lcov: ./lcov.info
#
big_tests:
name: ${{matrix.preset}} on OTP ${{matrix.otp}}
strategy:
Expand Down Expand Up @@ -78,23 +77,23 @@ jobs:
run: tools/test.sh -p $PRESET -s false -e false
- name: prepare coverage report
run: ./rebar3 codecov analyze --lcov --json false
- name: report coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ${{matrix.preset}} on OTP ${{matrix.otp}}
path-to-lcov: ./lcov.info
parallel: true
# - name: report coverage
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# flag-name: ${{matrix.preset}} on OTP ${{matrix.otp}}
# path-to-lcov: ./lcov.info
# parallel: true

coveralls_webhook:
needs: [big_tests, small_tests]
runs-on: ubuntu-20.04
steps:
- name: Finish coveralls parallel build
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
# coveralls_webhook:
# needs: [big_tests, small_tests]
# runs-on: ubuntu-20.04
# steps:
# - name: Finish coveralls parallel build
# uses: coverallsapp/github-action@v1.1.2
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# parallel-finished: true

dialyzer:
name: dialyzer on OTP ${{matrix.otp}}
Expand Down

0 comments on commit db64a59

Please sign in to comment.