From de87059c72e5df2aeae28cd7417026e27c2bf775 Mon Sep 17 00:00:00 2001 From: Angeline Burrell Date: Thu, 4 Apr 2024 12:43:16 -0400 Subject: [PATCH] BUG: fixed coveralls file specification Specify the coverage XML file instead of a general format. --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fccd7581..e162c661 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -65,7 +65,7 @@ jobs: COVERALLS_PARALLEL: true run: | curl -sL https://coveralls.io/coveralls-linux.tar.gz | tar -xz - ./coveralls report -format cobertura --parallel --repo-token=${{ secrets.COVERALLS_REPO_TOKEN }} + ./coveralls report -f coverage.xml --parallel --repo-token=${{ secrets.COVERALLS_REPO_TOKEN }} - name: Install and run Coveralls Reporter (Windows) if: startsWith(matrix.os, 'windows') @@ -74,7 +74,7 @@ jobs: COVERALLS_PARALLEL: true run: | curl -L https://github.com/coverallsapp/coverage-reporter/releases/latest/download/coveralls-windows.exe -o coveralls.exe - ./coveralls.exe report -format cobertura --parallel --repo-token=${{ secrets.COVERALLS_REPO_TOKEN }} + ./coveralls.exe report -f coverage.xml --parallel --repo-token=${{ secrets.COVERALLS_REPO_TOKEN }} - name: Report and run Coveralls (macOS) if: startsWith(matrix.os, 'macos') @@ -84,7 +84,7 @@ jobs: run: | brew tap coverallsapp/coveralls --quiet brew install coveralls --quiet - coveralls report -format cobertura --parallel --repo-token=${{ secrets.COVERALLS_REPO_TOKEN }} + coveralls report -f coverage.xml --parallel --repo-token=${{ secrets.COVERALLS_REPO_TOKEN }} finish: name: Finish Coverage Analysis