Skip to content

chore: update required checks #230

chore: update required checks

chore: update required checks #230

Workflow file for this run

name: Main CI
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- '*'
paths-ignore:
- '**/release_draft.yml'
- '**/maven*.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-driver:
name: 'Run non-container integration tests'
concurrency: Non-IntegrationTests
runs-on: ubuntu-latest
steps:
- name: 'Check changed files'
id: changed-files
uses: tj-actions/changed-files@v37
if: steps.changed-files-specific.outputs.only_changed == 'true' or steps.changed-files-specific.outputs.only_modified == 'true'
run: echo "ONLY_DOCS=true" >> $GITHUB_OUTPUT
with:
files_yaml: |
doc:
- '**/*.md'
- '**/docs/**'
- '**/*.jpg'
- '**/*.png'
- name: 'Clone repository'
if: ${{steps.changed-files.outputs.ONLY_DOCS}} != 'true'
uses: actions/checkout@v3
- name: 'Set up JDK 8'
if: ${{steps.changed-files.outputs.ONLY_DOCS}} != 'true'
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 8
- name: 'Run all checks'
if: ${{steps.changed-files.outputs.ONLY_DOCS}} != 'true'
run: ./gradlew check
- name: 'Generate code coverage report'
if: ${{steps.changed-files.outputs.ONLY_DOCS}} != 'true'
run: ./gradlew jacocoTestReport
- name: 'Archive test results'
if: ${{steps.changed-files.outputs.ONLY_DOCS}} != 'true'
uses: actions/upload-artifact@v3
with:
name: 'junit-report'
path: ./wrapper/build/reports/tests/test/
retention-days: 3