EPMRPP-114950 || Log createInvitationLink activity per project and or… #235
This file contains hidden or 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: Drill4J checks | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| drill-agent-enabled: | |
| description: 'Drill Agent Enabled' | |
| type: string | |
| required: false | |
| default: 'false' | |
| push: | |
| branches: | |
| - develop | |
| paths-ignore: | |
| - '.github/**' | |
| - README.md | |
| - gradle.properties | |
| jobs: | |
| call-java-checks: | |
| name: Call Java Checks with Drill4J | |
| runs-on: 'rp-beta-runner-set' | |
| env: | |
| DRILL_AGENT_ENABLED: ${{ github.event_name == 'push' && 'true' || 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@v4 | |
| with: | |
| submodules: true | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 25 | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Send build info to Drill4J | |
| run: ./gradlew drillSendBuildInfo | |
| - name: Build with Gradle | |
| id: build | |
| run: | | |
| ./gradlew test || true | |
| - name: Upload test report | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-report | |
| path: | | |
| build/reports/tests/test/** |