Skip to content

Commit

Permalink
836 add jtest to ci (#837)
Browse files Browse the repository at this point in the history
* added java unit test step to linux-build job to the ci pipeline and renamed the job to linux-build-and-UnitTest
  • Loading branch information
maxb-io authored Feb 21, 2024
1 parent 4d3c988 commit 95300a1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ jobs:
ROCKSDB_DISABLE_JEMALLOC=1 PORTABLE=1 DEBUG_LEVEL=0 make -j 4 rocksdbjavastatic
Linux-build:
Linux-build-and-UnitTest:
if: ${{ (always() && !failure() && !cancelled()) && (github.event.review.state == 'approved' || github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/heads/release')) }}
needs: [Build]
runs-on: ubuntu-latest
Expand Down Expand Up @@ -317,6 +317,11 @@ jobs:
make clean
SPDB_RELEASE_BUILD=1 LIB_MODE=static DEBUG_LEVEL=0 PORTABLE=1 JAVA_HOME=/usr/lib/jvm/java-openjdk make -j$(nproc) rocksdbjavastatic
- name: Java Unit test
run: |
make clean
JAVA_HOME=/usr/lib/jvm/java-openjdk make -j$(nproc) jtest
- name: Build db_bench
run: |
yum install -y gflags-devel
Expand Down Expand Up @@ -364,7 +369,7 @@ jobs:
CI-all:
if: ${{ github.event.review.state == 'approved' || github.event_name == 'workflow_dispatch' || startsWith(github.ref, 'refs/heads/release') }}
needs: [Check-Licence-And-History, Build, QA-Tests, Fuzz, Linux-Arm-build, Linux-build, Macos-build, Windows-build-test]
needs: [Check-Licence-And-History, Build, QA-Tests, Fuzz, Linux-Arm-build, Linux-build-and-UnitTest, Macos-build, Windows-build-test]
runs-on: ubuntu-latest
steps:
- name: Summary
Expand Down

0 comments on commit 95300a1

Please sign in to comment.