Properly set target branch

This commit is contained in:
The-EDev 2023-06-13 07:39:14 +03:00
parent ccdb1a156c
commit 981bccb79b
No known key found for this signature in database
GPG Key ID: 51C45DC0C413DCD9
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
service_name: drone-io
service_name: gh-actions
gcov_options: \-lp
include:
- include

View File

@ -66,10 +66,11 @@ 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: coveralls
- name: Coverage Report
if: matrix.os == 'ubuntu-latest'
run: |
export TRAVIS_BRANCH=$GITHUB_REF_NAME && \
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 && \