[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
|
||||
- name: Upload Coverage
|
||||
# Don't mix stable coverage with development coverage
|
||||
if: github.ref == 'refs/heads/dev'
|
||||
uses: coverallsapp/github-action@v2
|
||||
with:
|
||||
flag-name: ${{ matrix.ki_release }}_${{ matrix.w_tests }}
|
||||
parallel: true
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
if: ${{ (github.ref == 'refs/heads/dev') && (matrix.ki_release != 'ki8') }}
|
||||
env:
|
||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||
COVERALLS_FLAG_NAME: ${{ matrix.ki_release }}_${{ matrix.w_tests }}
|
||||
COVERALLS_PARALLEL: true
|
||||
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:
|
||||
strategy:
|
||||
|
|
@ -153,11 +160,18 @@ jobs:
|
|||
- name: Upload Coverage
|
||||
# Don't mix stable coverage with development coverage
|
||||
if: github.ref == 'refs/heads/dev'
|
||||
uses: coverallsapp/github-action@v2
|
||||
with:
|
||||
flag-name: independent
|
||||
parallel: true
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
env:
|
||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||
COVERALLS_FLAG_NAME: independent
|
||||
COVERALLS_PARALLEL: true
|
||||
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:
|
||||
name: Triggers the docker images creation
|
||||
|
|
@ -238,8 +252,9 @@ jobs:
|
|||
# Don't mix stable coverage with development coverage
|
||||
if: github.ref == 'refs/heads/dev'
|
||||
steps:
|
||||
- name: Coveralls Finished
|
||||
uses: coverallsapp/github-action@v2
|
||||
with:
|
||||
parallel-finished: true
|
||||
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"
|
||||
- name: Finished
|
||||
env:
|
||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||
run: |
|
||||
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