This commit is contained in:
Vj-L 2022-04-19 11:43:08 +05:30 committed by GitHub
parent 91af412cbf
commit 869a4a193f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 31 additions and 1 deletions

View File

@ -17,6 +17,9 @@ on:
pull_request_target:
branches: [ main ]
concurrency:
group: java-checkstyle-${{ github.head_ref }}
cancel-in-progress: true
jobs:
java-checkstyle:
runs-on: ${{matrix.os}}
@ -62,4 +65,4 @@ jobs:
- name: Java checkstyle failed, check the comment in the PR
if: steps.git.outcome != 'success'
run: |
exit 1
exit 1

View File

@ -23,6 +23,9 @@ on:
- "catalog-rest-service/**"
- "openmetadata-ui/**"
concurrency:
group: maven-build-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{matrix.os}}

View File

@ -20,6 +20,9 @@ on:
paths:
- 'catalog-rest-service/src/main/resources/json/schema/**'
concurrency:
group: openmetadata-ingestion-core-version-comment-${{ github.head_ref }}
cancel-in-progress: true
jobs:
py-ingestion-core-comment:
runs-on: ubuntu-latest

View File

@ -17,6 +17,9 @@ on:
pull_request_target:
branches: [ main ]
concurrency:
group: py-checkstyle-${{ github.head_ref }}
cancel-in-progress: true
jobs:
py-checkstyle:
runs-on: ${{matrix.os}}

View File

@ -18,6 +18,9 @@ on:
paths:
- 'catalog-rest-service/src/main/resources/json/**'
concurrency:
group: py-generate-${{ github.head_ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest

View File

@ -24,6 +24,9 @@ on:
- 'catalog-rest-service/src/main/resources/json/schema/**'
- 'ingestion-core/src/metadata/_version.py'
concurrency:
group: py-ingestion-core-publish-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
py-core-build-and-push:
runs-on: ubuntu-latest

View File

@ -23,6 +23,9 @@ on:
- ingestion/**
- catalog-rest-service/**
concurrency:
group: py-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
py-run-tests:
runs-on: ubuntu-latest

View File

@ -26,6 +26,9 @@ on:
- 'openmetadata-ui/src/main/resources/ui/**'
- 'openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pagesWithoutData/**'
concurrency:
group: selenium-noIngestion-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:

View File

@ -25,6 +25,9 @@ on:
paths:
- 'openmetadata-ui/src/main/resources/ui/**'
- 'openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/**'
concurrency:
group: selenium-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:

View File

@ -14,6 +14,9 @@ on:
- openmetadata-ui/src/main/resources/ui/**
env:
UI_WORKING_DIRECTORY: openmetadata-ui/src/main/resources/ui
concurrency:
group: yarn-coverage-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
coverage-tests:
strategy: