Skip to content

Does the async client work #1221

Does the async client work

Does the async client work #1221

Workflow file for this run

# This workflow will install the dependencies, run tests and lint every push
name: Build Java
on:
push:
branches: [ 'master' ]
pull_request:
branches: [ '**' ]
jobs:
build:
runs-on: ubuntu-latest
environment: build
permissions:
checks: write
pull-requests: write
id-token: write
contents: read
strategy:
matrix:
java: ['8', '11','17','21']
name: Java ${{ matrix.java }}
steps:
- name: Azure login
uses: azure/login@v2
with:
client-id: ${{ secrets.APP_ID }}
tenant-id: ${{ secrets.TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- uses: actions/checkout@v2
- name: Setup java ${{ matrix.java }}
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Run the Maven verify phase
run: mvn --batch-mode --update-snapshots formatter:validate verify
env:
DM_CONNECTION_STRING: https://ingest-sdkse2etest.eastus.kusto.windows.net
ENGINE_CONNECTION_STRING: https://sdkse2etest.eastus.kusto.windows.net
TEST_DATABASE: e2e
APP_ID: ${{ secrets.APP_ID }}
TENANT_ID: ${{ secrets.TENANT_ID }}
CI_EXECUTION: 1
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
data/target/surefire-reports/*.xml
ingest/target/surefire-reports/*.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2