Skip to content

Commit

Permalink
Add java checks with Drill4J
Browse files Browse the repository at this point in the history
  • Loading branch information
iryabov committed Dec 10, 2024
1 parent 95850b5 commit fb99704
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/drill-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Drill4J checks

on:
workflow_dispatch:
inputs:
drill-agent-enabled:
description: 'Drill Agent Enabled'
type: string
required: false
default: 'false'

jobs:
call-java-checks:
name: Call Java Checks
runs-on: 'rp-beta-runner-set'
env:
DRILL_AGENT_ENABLED: ${{ inputs.drill-agent-enabled }}
DRILL_API_URL: ${{ secrets.DRILL_API_URL }}
DRILL_API_KEY: ${{ secrets.DRILL_API_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 21

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
id: build
run: |
./gradlew build
continue-on-error: true

- name: Upload test report
if: failure()
uses: actions/upload-artifact@v3
with:
name: test-report
path: build/reports/tests/test/index.html

0 comments on commit fb99704

Please sign in to comment.