mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-25 09:00:50 +00:00
fix(ci): ignore binaries from test results upload (#9560)
This commit is contained in:
parent
556de21534
commit
031e6fbb6d
1
.github/workflows/airflow-plugin.yml
vendored
1
.github/workflows/airflow-plugin.yml
vendored
@ -76,6 +76,7 @@ jobs:
|
||||
**/build/reports/tests/test/**
|
||||
**/build/test-results/test/**
|
||||
**/junit.*.xml
|
||||
!**/binary/**
|
||||
- name: Upload coverage to Codecov
|
||||
if: always()
|
||||
uses: codecov/codecov-action@v3
|
||||
|
23
.github/workflows/build-and-test.yml
vendored
23
.github/workflows/build-and-test.yml
vendored
@ -29,11 +29,15 @@ jobs:
|
||||
"except_metadata_ingestion",
|
||||
"frontend",
|
||||
]
|
||||
timezone: ["UTC", "America/New_York"]
|
||||
timezone: ["UTC"]
|
||||
include:
|
||||
# We only need the timezone variation for frontend tests.
|
||||
- command: "frontend"
|
||||
timezone: "America/New_York"
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: szenius/set-timezone@v1.0
|
||||
- uses: szenius/set-timezone@v1.2
|
||||
with:
|
||||
timezoneLinux: ${{ matrix.timezone }}
|
||||
- uses: hsheth2/sane-checkout-action@v1
|
||||
@ -48,8 +52,7 @@ jobs:
|
||||
python-version: "3.10"
|
||||
cache: pip
|
||||
- name: Gradle build (and test) for metadata ingestion
|
||||
# we only need the timezone runs for frontend tests
|
||||
if: ${{ matrix.command == 'except_metadata_ingestion' && matrix.timezone == 'America/New_York' }}
|
||||
if: ${{ matrix.command == 'except_metadata_ingestion' }}
|
||||
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
|
||||
- name: Gradle build (and test) for frontend
|
||||
@ -66,15 +69,9 @@ jobs:
|
||||
**/build/reports/tests/test/**
|
||||
**/build/test-results/test/**
|
||||
**/junit.*.xml
|
||||
!**/binary/**
|
||||
- name: Ensure codegen is updated
|
||||
uses: ./.github/actions/ensure-codegen-updated
|
||||
- name: Slack failure notification
|
||||
if: failure() && github.event_name == 'push'
|
||||
uses: kpritam/slack-job-status-action@v1
|
||||
with:
|
||||
job-status: ${{ job.status }}
|
||||
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
|
||||
channel: github-activities
|
||||
|
||||
quickstart-compose-validation:
|
||||
runs-on: ubuntu-latest
|
||||
@ -83,10 +80,6 @@ jobs:
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- name: Download YQ
|
||||
uses: chrisdickinson/setup-yq@v1.0.1
|
||||
with:
|
||||
yq-version: v4.28.2
|
||||
- name: Quickstart Compose Validation
|
||||
run: ./docker/quickstart/generate_and_compare.sh
|
||||
|
||||
|
8
.github/workflows/docker-unified.yml
vendored
8
.github/workflows/docker-unified.yml
vendored
@ -905,13 +905,7 @@ jobs:
|
||||
**/build/reports/tests/test/**
|
||||
**/build/test-results/test/**
|
||||
**/junit.*.xml
|
||||
- name: Slack failure notification
|
||||
if: failure() && github.event_name == 'push'
|
||||
uses: kpritam/slack-job-status-action@v1
|
||||
with:
|
||||
job-status: ${{ job.status }}
|
||||
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
|
||||
channel: github-activities
|
||||
!**/binary/**
|
||||
deploy_datahub_head:
|
||||
name: Deploy to Datahub HEAD
|
||||
runs-on: ubuntu-latest
|
||||
|
1
.github/workflows/metadata-ingestion.yml
vendored
1
.github/workflows/metadata-ingestion.yml
vendored
@ -79,6 +79,7 @@ jobs:
|
||||
**/build/reports/tests/test/**
|
||||
**/build/test-results/test/**
|
||||
**/junit.*.xml
|
||||
!**/binary/**
|
||||
- name: Upload coverage to Codecov
|
||||
if: ${{ always() && matrix.python-version == '3.10' }}
|
||||
uses: codecov/codecov-action@v3
|
||||
|
1
.github/workflows/metadata-io.yml
vendored
1
.github/workflows/metadata-io.yml
vendored
@ -50,6 +50,7 @@ jobs:
|
||||
**/build/reports/tests/test/**
|
||||
**/build/test-results/test/**
|
||||
**/junit.*.xml
|
||||
!**/binary/**
|
||||
- name: Ensure codegen is updated
|
||||
uses: ./.github/actions/ensure-codegen-updated
|
||||
|
||||
|
8
.github/workflows/spark-smoke-test.yml
vendored
8
.github/workflows/spark-smoke-test.yml
vendored
@ -68,10 +68,4 @@ jobs:
|
||||
**/build/reports/tests/test/**
|
||||
**/build/test-results/test/**
|
||||
**/junit.*.xml
|
||||
- name: Slack failure notification
|
||||
if: failure() && github.event_name == 'push'
|
||||
uses: kpritam/slack-job-status-action@v1
|
||||
with:
|
||||
job-status: ${{ job.status }}
|
||||
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
|
||||
channel: github-activities
|
||||
!**/binary/**
|
||||
|
@ -70,6 +70,7 @@ task customPackageGenerate(type: Exec, dependsOn: [environmentSetup, installPack
|
||||
def package_version = project.findProperty('package_version')
|
||||
commandLine 'bash', '-c',
|
||||
"source ${venv_name}/bin/activate && " +
|
||||
"pip install build && " +
|
||||
"./scripts/custom_package_codegen.sh '${package_name}' '${package_version}'"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user