-
Notifications
You must be signed in to change notification settings - Fork 13
54 lines (48 loc) · 1.4 KB
/
test_compatibility.yml
File metadata and controls
54 lines (48 loc) · 1.4 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
name: Compatibility Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
server:
- "nightly"
- "v1.2.790-nightly"
driver:
- "0.4.1"
- "0.4.0"
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} # Value of the GPG private key to import
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
- name: Start Cluster With Nginx and Minio
working-directory: tests
run: make up
env:
DATABEND_QUERY_VERSION: ${{ matrix.server }}
- name: Build Test Jar
run: mvn clean package -DskipTests
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Test with conn to nginx
working-directory: tests/compatibility
run: sh test_compatibility.sh
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
DATABEND_TEST_CONN_PORT: 8000
DATABEND_QUERY_VERSION: ${{ matrix.server }}
DATABEND_JDBC_VERSION: ${{ matrix.driver }}
TEST_SIDE: "driver"