Skip to content

Commit

Permalink
Fixed SDK tests without pq and topic tests (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gazizonoki authored Apr 5, 2024
1 parent 747a847 commit e87860e
Show file tree
Hide file tree
Showing 91 changed files with 295 additions and 3,416 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ runs:
cd ../build
export CCACHE_BASEDIR=`realpath ..`
export CCACHE_DIR=~/.ccache
ninja
ninja -j32
ccache -s
9 changes: 8 additions & 1 deletion .github/workflows/pr_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ on:
pull_request:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
main:
name: PR check for YDB C++ SDK
Expand Down Expand Up @@ -55,6 +57,11 @@ jobs:
ubuntu-22.04-ccache-
- name: Build
uses: ./.github/actions/build
- name: Test
shell: bash
run: |
cd ../build/tests
ctest -j32 --timeout 1200 --output-on-failure
- name: Launch basic example
shell: bash
run: |
Expand Down
15 changes: 0 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,6 @@ __pycache__/
*.kdev4

# Other symlinks
contrib/python/protobuf/py3/google.protobuf.internal._api_implementation.reg3.cpp
contrib/python/protobuf/py3/google.protobuf.pyext._message.reg3.cpp
contrib/tools/python3/src/Modules/_sqlite/_sqlite3.reg3.cpp
contrib/tools/ragel6/all_cd.cpp
contrib/tools/ragel6/all_cs.cpp
contrib/tools/ragel6/all_fs.cpp
contrib/tools/ragel6/all_go.cpp
contrib/tools/ragel6/all_ml.cpp
contrib/tools/ragel6/all_other.cpp
contrib/tools/ragel6/all_r.cpp
library/python/runtime_py3/__res.pyx.cpp
library/python/runtime_py3/__res.reg3.cpp
library/python/runtime_py3/sitecustomize.pyx.cpp
library/python/runtime_py3/sitecustomize.reg3.cpp
library/python/symbols/module/library.python.symbols.module.syms.reg3.cpp
util/all_datetime.cpp
util/all_digest.cpp
util/all_folder.cpp
Expand Down
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ include(cmake/common.cmake)
include(cmake/global_flags.cmake)
include(cmake/protobuf.cmake)
include(cmake/global_vars.cmake)

include(cmake/external_libs.cmake)
include(cmake/testing.cmake)

add_subdirectory(tools)
add_subdirectory(contrib)
Expand All @@ -32,3 +32,4 @@ add_subdirectory(util)
add_subdirectory(ydb)
add_subdirectory(client)
add_subdirectory(examples)
add_subdirectory(tests)
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If you ok with this warning, then...
- libidn11-dev (IDN)
- libiconv (Iconv)

## Testing
## Testing requirements

- gtest
- gmock
Expand Down Expand Up @@ -114,3 +114,10 @@ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
cd build
ninja
```

## Test

```bash
cd ../build/tests
ctest -j32 --timeout 1200 --output-on-failure
```
2 changes: 0 additions & 2 deletions client/draft/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# add_subdirectory(ut)

add_library(cpp-client-draft)

target_link_libraries(cpp-client-draft PUBLIC
Expand Down
72 changes: 0 additions & 72 deletions client/draft/ut/CMakeLists.darwin-arm64.txt

This file was deleted.

73 changes: 0 additions & 73 deletions client/draft/ut/CMakeLists.darwin-x86_64.txt

This file was deleted.

76 changes: 0 additions & 76 deletions client/draft/ut/CMakeLists.linux-aarch64.txt

This file was deleted.

78 changes: 0 additions & 78 deletions client/draft/ut/CMakeLists.linux-x86_64.txt

This file was deleted.

Loading

0 comments on commit e87860e

Please sign in to comment.