fix: add Date TypeHandler #116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Databend Cluster Tests | |
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
branches: | |
- main | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
- 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 | |
- uses: ./.github/actions/setup_databend_cluster | |
timeout-minutes: 15 | |
with: | |
version: '1.2.661-nightly' | |
target: 'x86_64-unknown-linux-gnu' | |
- name: Test with conn to node 1 | |
run: mvn test -DexcludedGroups=FLAKY | |
env: | |
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | |
- name: View Nginx logs | |
run: docker logs nginx-lb | |
- name: check nginx | |
run: | | |
curl -u 'databend:databend' -X POST "http://localhost:8010/v1/query" \ | |
-H 'Content-Type: application/json' \ | |
-d '{"sql": "select 1", "pagination": { "wait_time_secs": 5 }}' || true | |
env: | |
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | |
- name: View Nginx logs | |
run: docker logs nginx-lb | |
- name: Test with conn to nginx | |
run: mvn test -DexcludedGroups=FLAKY | |
env: | |
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | |
DATABEND_TEST_CONN_PORT: 8010 |