-
Notifications
You must be signed in to change notification settings - Fork 6
57 lines (49 loc) · 1.39 KB
/
dockerized.yml
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
55
56
57
name: Community Integration Tests
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- '*'
paths-ignore:
- '**/*.md'
- '**/*.jpg'
- '**/README.txt'
- '**/LICENSE.txt'
- 'docs/**'
- 'ISSUE_TEMPLATE/**'
- '**/remove-old-artifacts.yml'
env:
BUILD_TYPE: Release
jobs:
community-tests:
name: Dockerized Community Tests
runs-on: ubuntu-latest
env:
CMAKE_GENERATOR: Unix Makefiles
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Install build dependencies
run: sudo apt-get update && sudo apt-get install libcurl4 && sudo apt-get install libcurl4-openssl-dev
- name: Build and install AWS SDK C++
working-directory: ./scripts
if: steps.cache-dynamic-aws-sdk.outputs.cache-hit != 'true'
run: |
./build_aws_sdk_unix.sh $BUILD_TYPE
- name: 'Set up JDK 8'
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 8
- name: 'Run Community Tests'
working-directory: ${{ github.workspace }}/testframework
run: |
./gradlew --no-parallel --no-daemon test-community --info
env:
TEST_DSN: awsmysqlodbca
TEST_USERNAME: root
TEST_PASSWORD: root
DRIVER_PATH: ${{ github.workspace }}