CI: Migrate to coveralls.

This commit is contained in:
Joachim Bauch 2025-07-31 08:24:56 +02:00
commit 4b2bc57e25
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02
2 changed files with 5 additions and 27 deletions

View file

@ -50,31 +50,9 @@ jobs:
- name: Generate coverage report
run: |
make cover TIMEOUT=120s
echo "GOROOT=$(go env GOROOT)" >> $GITHUB_ENV
- name: Convert coverage to lcov
uses: jandelgado/gcov2lcov-action@v1.1.1
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
infile: cover.out
outfile: cover.lcov
- name: Coveralls Parallel
uses: coverallsapp/github-action@v2.3.6
env:
COVERALLS_FLAG_NAME: run-${{ matrix.go-version }}
with:
path-to-lcov: cover.lcov
github-token: ${{ secrets.github_token }}
parallel: true
finish:
permissions:
contents: none
needs: go
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2.3.6
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
token: ${{ secrets.CODECOV_TOKEN }}
files: ./cover.out

View file

@ -1,7 +1,7 @@
# Spreed standalone signaling server
![Build Status](https://github.com/strukturag/nextcloud-spreed-signaling/actions/workflows/test.yml/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/strukturag/nextcloud-spreed-signaling/badge.svg?branch=master)](https://coveralls.io/github/strukturag/nextcloud-spreed-signaling?branch=master)
[![Coverage Status](https://codecov.io/gh/strukturag/nextcloud-spreed-signaling/graph/badge.svg?token=IMXMIRNAJ8)](https://codecov.io/gh/strukturag/nextcloud-spreed-signaling)
[![Documentation Status](https://readthedocs.org/projects/nextcloud-spreed-signaling/badge/?version=latest)](https://nextcloud-spreed-signaling.readthedocs.io/en/latest/?badge=latest)
[![Go Report](https://goreportcard.com/badge/github.com/strukturag/nextcloud-spreed-signaling)](https://goreportcard.com/report/github.com/strukturag/nextcloud-spreed-signaling)