mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-27 09:58:14 +00:00
fix(ci): refactor build-and-test command (#9999)
This commit is contained in:
parent
1b3bbf8234
commit
7de517c363
12
.github/workflows/build-and-test.yml
vendored
12
.github/workflows/build-and-test.yml
vendored
@ -76,7 +76,17 @@ jobs:
|
||||
- name: Gradle build (and test) for NOT metadata ingestion
|
||||
if: ${{ matrix.command == 'except_metadata_ingestion' && needs.setup.outputs.backend_change == 'true' }}
|
||||
run: |
|
||||
./gradlew build -x :metadata-ingestion:build -x :metadata-ingestion:check -x docs-website:build -x :metadata-integration:java:spark-lineage:test -x :metadata-io:test -x :metadata-ingestion-modules:airflow-plugin:build -x :metadata-ingestion-modules:airflow-plugin:check -x :datahub-frontend:build -x :datahub-web-react:build --parallel
|
||||
./gradlew build \
|
||||
-x :metadata-ingestion:build \
|
||||
-x :metadata-ingestion:check \
|
||||
-x docs-website:build \
|
||||
-x :metadata-integration:java:spark-lineage:test \
|
||||
-x :metadata-io:test \
|
||||
-x :metadata-ingestion-modules:airflow-plugin:build \
|
||||
-x :metadata-ingestion-modules:airflow-plugin:check \
|
||||
-x :datahub-frontend:build \
|
||||
-x :datahub-web-react:build \
|
||||
--parallel
|
||||
- name: Gradle build (and test) for frontend
|
||||
if: ${{ matrix.command == 'frontend' && needs.setup.outputs.frontend_change == 'true' }}
|
||||
run: |
|
||||
|
||||
2
.github/workflows/metadata-ingestion.yml
vendored
2
.github/workflows/metadata-ingestion.yml
vendored
@ -6,6 +6,7 @@ on:
|
||||
paths:
|
||||
- ".github/workflows/metadata-ingestion.yml"
|
||||
- "metadata-ingestion/**"
|
||||
- "metadata-ingestion-modules/**"
|
||||
- "metadata-models/**"
|
||||
pull_request:
|
||||
branches:
|
||||
@ -13,6 +14,7 @@ on:
|
||||
paths:
|
||||
- ".github/workflows/metadata-ingestion.yml"
|
||||
- "metadata-ingestion/**"
|
||||
- "metadata-ingestion-modules/**"
|
||||
- "metadata-models/**"
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user