[CI/CD][Tests] Trying the old coveralls, skipping KiCad 8
This commit is contained in:
parent
c3e0307534
commit
838169b8bb
|
|
@ -97,12 +97,19 @@ jobs:
|
||||||
path: output
|
path: output
|
||||||
- name: Upload Coverage
|
- name: Upload Coverage
|
||||||
# Don't mix stable coverage with development coverage
|
# Don't mix stable coverage with development coverage
|
||||||
if: github.ref == 'refs/heads/dev'
|
if: ${{ (github.ref == 'refs/heads/dev') && (matrix.ki_release != 'ki8') }}
|
||||||
uses: coverallsapp/github-action@v2
|
env:
|
||||||
with:
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||||
flag-name: ${{ matrix.ki_release }}_${{ matrix.w_tests }}
|
COVERALLS_FLAG_NAME: ${{ matrix.ki_release }}_${{ matrix.w_tests }}
|
||||||
parallel: true
|
COVERALLS_PARALLEL: true
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: |
|
||||||
|
# apt-get update
|
||||||
|
# apt-get -y install python3-pip
|
||||||
|
# pip3 install coveralls
|
||||||
|
#coveralls --service=github
|
||||||
|
#echo Disabled by now
|
||||||
|
coveralls
|
||||||
|
|
||||||
test_indep:
|
test_indep:
|
||||||
strategy:
|
strategy:
|
||||||
|
|
@ -153,11 +160,18 @@ jobs:
|
||||||
- name: Upload Coverage
|
- name: Upload Coverage
|
||||||
# Don't mix stable coverage with development coverage
|
# Don't mix stable coverage with development coverage
|
||||||
if: github.ref == 'refs/heads/dev'
|
if: github.ref == 'refs/heads/dev'
|
||||||
uses: coverallsapp/github-action@v2
|
env:
|
||||||
with:
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||||
flag-name: independent
|
COVERALLS_FLAG_NAME: independent
|
||||||
parallel: true
|
COVERALLS_PARALLEL: true
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: |
|
||||||
|
# apt-get update
|
||||||
|
# apt-get -y install python3-pip
|
||||||
|
# pip3 install coveralls
|
||||||
|
#coveralls --service=github
|
||||||
|
#echo Disabled by now
|
||||||
|
coveralls
|
||||||
|
|
||||||
create_images:
|
create_images:
|
||||||
name: Triggers the docker images creation
|
name: Triggers the docker images creation
|
||||||
|
|
@ -238,8 +252,9 @@ jobs:
|
||||||
# Don't mix stable coverage with development coverage
|
# Don't mix stable coverage with development coverage
|
||||||
if: github.ref == 'refs/heads/dev'
|
if: github.ref == 'refs/heads/dev'
|
||||||
steps:
|
steps:
|
||||||
- name: Coveralls Finished
|
- name: Finished
|
||||||
uses: coverallsapp/github-action@v2
|
env:
|
||||||
with:
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||||
parallel-finished: true
|
run: |
|
||||||
carryforward: "ki5_g1,ki5_g2,ki5_g3,ki6_g1,ki6_g2,ki6_g3,ki7_g1,ki7_g2,ki7_g3,ki8_g1,ki8_g2,ki8_g3,independent"
|
curl -k https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN -d "payload[build_num]="$GITHUB_RUN_ID"&payload[status]=done"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue