Skip to content

Commit 56aba69

Browse files
authored
Add grpcurl and grpc_health_probe installation steps to CI workflow (#229)
Motivation: - Enable back Linux-specific integration tests using grpcurl and grpc_health_probe tools in GitHub Actions workflow to fix #227 Changes: - Added installation steps for grpcurl and grpc_health_probe for Linux runners. - Configured separate test execution profiles for Linux and non-Linux environments.
1 parent b669f46 commit 56aba69

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,20 @@ jobs:
2525
with:
2626
java-version: ${{ inputs.jdk }}
2727
distribution: temurin
28+
- name: Install grpcurl (Linux only)
29+
if: runner.os == 'Linux'
30+
run: |
31+
curl -L https://github.com/fullstorydev/grpcurl/releases/download/v1.9.3/grpcurl_1.9.3_linux_x86_64.tar.gz | tar -xz
32+
sudo mv grpcurl /usr/local/bin/
33+
- name: Install grpc_health_probe (Linux only)
34+
if: runner.os == 'Linux'
35+
run: |
36+
curl -L https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/v0.4.41/grpc_health_probe-linux-amd64 -o grpc_health_probe
37+
chmod +x grpc_health_probe
38+
sudo mv grpc_health_probe /usr/local/bin/
2839
- name: Run tests
40+
if: runner.os != 'Linux'
41+
run: mvn -s .github/maven-ci-settings.xml -q clean verify -B
42+
- name: Run tests with grpcurl and health-probe profiles (Linux only)
43+
if: runner.os == 'Linux'
2944
run: mvn -s .github/maven-ci-settings.xml -q clean verify -B -P grpcurl,health-probe

0 commit comments

Comments
 (0)