ci: missing token
This commit is contained in:
parent
4000cd2224
commit
c3f194710c
|
@ -63,8 +63,11 @@ jobs:
|
||||||
|
|
||||||
- run: make cover
|
- run: make cover
|
||||||
|
|
||||||
- run: make coveralls
|
- name: send to coveralls
|
||||||
if: github.repository == 'emqx/emqx'
|
if: github.repository == 'emqx/emqx'
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: make coveralls
|
||||||
|
|
||||||
- run: cat rebar3.crashdump
|
- run: cat rebar3.crashdump
|
||||||
if: failure()
|
if: failure()
|
||||||
|
@ -81,6 +84,9 @@ jobs:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
env:
|
||||||
|
PROFILE: ${{ matrix.profile }}
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
@ -105,7 +111,6 @@ jobs:
|
||||||
TDENGINE_TAG: "3.0.2.4"
|
TDENGINE_TAG: "3.0.2.4"
|
||||||
OPENTS_TAG: "9aa7f88"
|
OPENTS_TAG: "9aa7f88"
|
||||||
MINIO_TAG: "RELEASE.2023-03-20T20-16-18Z"
|
MINIO_TAG: "RELEASE.2023-03-20T20-16-18Z"
|
||||||
PROFILE: ${{ matrix.profile }}
|
|
||||||
SUITEGROUP: ${{ matrix.suitegroup }}
|
SUITEGROUP: ${{ matrix.suitegroup }}
|
||||||
ENABLE_COVER_COMPILE: 1
|
ENABLE_COVER_COMPILE: 1
|
||||||
CT_COVER_EXPORT_PREFIX: ${{ matrix.profile }}-${{ matrix.otp }}-sg${{ matrix.suitegroup }}
|
CT_COVER_EXPORT_PREFIX: ${{ matrix.profile }}-${{ matrix.otp }}-sg${{ matrix.suitegroup }}
|
||||||
|
@ -113,15 +118,11 @@ jobs:
|
||||||
run: ./scripts/ct/run.sh --ci --app ${{ matrix.app }} --keep-up
|
run: ./scripts/ct/run.sh --ci --app ${{ matrix.app }} --keep-up
|
||||||
|
|
||||||
- name: make cover
|
- name: make cover
|
||||||
env:
|
|
||||||
PROFILE: ${{ matrix.profile }}
|
|
||||||
run: |
|
run: |
|
||||||
docker exec -e PROFILE="$PROFILE" -t erlang make cover
|
docker exec -e PROFILE="$PROFILE" -t erlang make cover
|
||||||
|
|
||||||
- name: send to coveralls
|
- name: send to coveralls
|
||||||
if: github.repository == 'emqx/emqx'
|
if: github.repository == 'emqx/emqx'
|
||||||
env:
|
|
||||||
PROFILE: ${{ matrix.profile }}
|
|
||||||
run: |
|
run: |
|
||||||
ls _build/test/cover/*.coverdata || exit 0
|
ls _build/test/cover/*.coverdata || exit 0
|
||||||
docker exec -e PROFILE="$PROFILE" -t erlang make coveralls
|
docker exec -e PROFILE="$PROFILE" -t erlang make coveralls
|
||||||
|
|
Loading…
Reference in New Issue