Skip to content

upgrade ratis snapshot version to 2.5.2-8efe8a1-SNAPSHOT (#10971) #6

upgrade ratis snapshot version to 2.5.2-8efe8a1-SNAPSHOT (#10971)

upgrade ratis snapshot version to 2.5.2-8efe8a1-SNAPSHOT (#10971) #6

Workflow file for this run

# This workflow is just for checking whether modifications works for the Python client.
name: Python Client
on:
push:
branches:
- master
- 'rel/*'
paths-ignore:
- 'docs/**'
- 'site/**'
pull_request:
branches:
- master
- 'rel/*'
- "new_*"
paths-ignore:
- 'docs/**'
- 'site/**'
# allow manually run the action:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
jobs:
unix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2-
- name: Build IoTDB server distribution zip and python client
run: mvn -B clean install -pl distribution,iotdb-client/client-py -am -DskipTests
- name: Build IoTDB server docker image
run: |
docker build . -f docker/src/main/Dockerfile-1c1d -t "iotdb:dev"
docker images
- name: Install IoTDB python client requirements
run: pip3 install -r iotdb-client/client-py/requirements_dev.txt
- name: Integration test
shell: bash
run: |
cd iotdb-client/client-py/ && pytest .