fix: handle repeated sort keys and sort as int #6024
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The coverage jobs for cpp code | |
# | |
# This sperate job exists because C/CPP coverage require build type to be Debug. | |
# Other coverage jobs e.g java/scala's coverage lives alongside with their test jobs. | |
name: coverage | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'docs/**' | |
- 'demo/**' | |
- 'docker/**' | |
- 'image/**' | |
- 'release/**' | |
- 'tools/**' | |
- '*.md' | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- 'demo/**' | |
- 'docker/**' | |
- 'image/**' | |
- 'release/**' | |
- 'tools/**' | |
- '*.md' | |
workflow_dispatch: | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
env: | |
CTEST_PARALLEL_LEVEL: 1 # parallel test level for ctest (make test) | |
CMAKE_BUILD_TYPE: Debug | |
TESTING_ENABLE: ON | |
SQL_PYSDK_ENABLE: OFF | |
SQL_JAVASDK_ENABLE: OFF | |
NPROC: 2 | |
BUILD_SHARED_LIBS: ON | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: download lcov | |
uses: actions/checkout@v3 | |
with: | |
repository: linux-test-project/lcov | |
ref: v1.16 | |
path: lcov | |
- name: install lcov | |
working-directory: lcov | |
run: | | |
sudo make install | |
- name: coverage configure | |
run: | | |
make coverage-configure | |
- name: start service | |
run: | | |
./steps/ut_zookeeper.sh start | |
- name: Coverage CPP | |
run: | | |
make coverage-cpp | |
- name: Upload Coverage Report | |
uses: codecov/codecov-action@v3 | |
with: | |
files: build/coverage.info | |
name: coverage-cpp | |
fail_ci_if_error: true | |
verbose: true | |
- name: stop service | |
run: | | |
./steps/ut_zookeeper.sh stop |