mirror of https://github.com/CrowCpp/Crow.git
commented out coverage report
This commit is contained in:
parent
d60702ecbe
commit
63e621556b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue