-
Notifications
You must be signed in to change notification settings - Fork 18
42 lines (37 loc) · 1.35 KB
/
cloud_java_client_test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Cloud test with Java client
on:
workflow_dispatch:
inputs:
java_client_version:
description: Java client version without SNAPSHOT suffix
required: true
base_url:
description: Base url of the cloud env. I.e https://api.dev.viridian.hazelcast.cloud
required: true
default: https://api.dev.viridian.hazelcast.cloud
hzVersion:
description: Version of hazelcast
required: true
jobs:
test_cloud_java:
runs-on: ubuntu-latest
name: Cloud tests with Java
steps:
- name: Checkout to scripts
uses: actions/checkout@v4
- name: Read Java Config
run: cat ${{ github.workspace }}/.github/java-config.env >> $GITHUB_ENV
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: ${{ env.JAVA_DISTRIBUTION }}
- name: Run cloud tests for Viridian
env:
BASE_URL: ${{ github.event.inputs.base_url }}
API_KEY: ${{ secrets.APIKEY_VIRIDIAN }}
API_SECRET: ${{ secrets.APISECRET_VIRIDIAN }}
HZ_VERSION: ${{ github.event.inputs.hzVersion }}
run: |
mvn clean test "-Dhazelcast-version=${{ github.event.inputs.java_client_version }}"
working-directory: HazelcastCloudTests/javahazelcastcloudtests