Skip to content

Commit

Permalink
fix: ctest execute fail,remove duplicate ci (#57)
Browse files Browse the repository at this point in the history
* fix ctest execute fail,remove duplicate ci

* modify ctest
  • Loading branch information
lqxhub authored Oct 19, 2024
1 parent d65be5c commit fa167e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/import_braft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Import BRaft Actions (Temporary)

on:
push:
branches: [ "import-braft" ]
pull_request:
branches: [ "import-braft" ]

Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/pikiwidb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: kiwi

on:
push:
branches: [ "unstable" ]
pull_request:
branches: [ "unstable" ]

env:
BUILD_DIR: cmake-build-release

jobs:
check_format:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -33,7 +37,7 @@ jobs:
bash ./etc/script/build.sh --verbose
- name: GTest
working-directory: ${{ github.workspace }}/build-release
working-directory: ${{ github.workspace }}/${{ env.BUILD_DIR }}
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest
Expand All @@ -44,7 +48,7 @@ jobs:
./etc/script/kiwitests.sh all

- name: Run Go E2E Tests
working-directory: ${{ github.workspace }}/build-release
working-directory: ${{ github.workspace }}/${{ env.BUILD_DIR }}
run: |
set +e
cd ../tests
Expand All @@ -64,7 +68,7 @@ jobs:
bash ./etc/script/build.sh --verbose
- name: GTest
working-directory: ${{ github.workspace }}/build-release
working-directory: ${{ github.workspace }}/${{ env.BUILD_DIR }}
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest
Expand All @@ -75,7 +79,7 @@ jobs:
./etc/script/kiwitests.sh all

- name: Run Go E2E Tests
working-directory: ${{ github.workspace }}/build-release
working-directory: ${{ github.workspace }}/${{ env.BUILD_DIR }}
run: |
set +e
cd ../tests
Expand Down

0 comments on commit fa167e6

Please sign in to comment.