commented out coverage report

This commit is contained in:
Farook Al-Sammarraie 2023-06-14 09:13:10 +00:00 committed by GitHub
parent d60702ecbe
commit 63e621556b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 14 deletions

View File

@ -10,8 +10,8 @@ on:
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
COVERALLS_PULL_REQUEST: ${{ github.event.number }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
#COVERALLS_PULL_REQUEST: ${{ github.event.number }}
#COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
jobs:
build:
@ -66,18 +66,18 @@ jobs:
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest --output-on-failure -C ${{env.BUILD_TYPE}}
- name: Coverage Report
if: matrix.os == 'ubuntu-latest'
run: |
export CI_BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}}
echo "CI_BRANCH=$CI_BRANCH" >> $GITHUB_ENV && \
export TRAVIS_JOB_ID=$GITHUB_RUN_NUMBER && \
git clone https://github.com/CrowCpp/cpp-coveralls.git && \
cd cpp-coveralls && \
pip3 install . --no-input && \
cd .. && \
coveralls --verbose --exclude-pattern .*/http_parser_merged.h --exclude-pattern .*/TinySHA1.hpp
shell: bash
#- name: Coverage Report
# if: matrix.os == 'ubuntu-latest'
# run: |
# export CI_BRANCH=${GITHUB_BASE_REF:-${GITHUB_REF#refs/heads/}}
# echo "CI_BRANCH=$CI_BRANCH" >> $GITHUB_ENV && \
# export TRAVIS_JOB_ID=$GITHUB_RUN_NUMBER && \
# git clone https://github.com/CrowCpp/cpp-coveralls.git && \
# cd cpp-coveralls && \
# pip3 install . --no-input && \
# cd .. && \
# coveralls --verbose --exclude-pattern .*/http_parser_merged.h --exclude-pattern .*/TinySHA1.hpp
# shell: bash
#- name: Package
# working-directory: ${{github.workspace}}/build