Skip to content

Commit

Permalink
fix ctest execute fail,remove duplicate ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lqxhub committed Oct 12, 2024
1 parent d65be5c commit 4156d90
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 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
14 changes: 9 additions & 5 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 All @@ -16,7 +20,7 @@ jobs:
run: bash ./etc/script/ci/build.sh

- name: Check Format
working-directory: ${{ github.workspace }}/build
working-directory: ${{ github.workspace }}/${{ env.BUILD_DIR}}
run: make check-format

build_on_macos:
Expand All @@ -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_TYPE }}
# 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_TYPE }}
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_TYPE }}
# 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_TYPE }}
run: |
set +e
cd ../tests
Expand Down

0 comments on commit 4156d90

Please sign in to comment.