Skip to content

[MINOR] ci: Add idp-basic test workflow#11075

Merged
roryqi merged 3 commits into
apache:mainfrom
lasdf1234:add-idp-basic-ci
May 15, 2026
Merged

[MINOR] ci: Add idp-basic test workflow#11075
roryqi merged 3 commits into
apache:mainfrom
lasdf1234:add-idp-basic-ci

Conversation

@lasdf1234
Copy link
Copy Markdown
Collaborator

@lasdf1234 lasdf1234 commented May 13, 2026

What changes were proposed in this pull request?

This PR adds a dedicated GitHub Actions workflow for :plugins:idp-basic:test.

It introduces:

  • a standalone idp-basic workflow under .github/workflows/idp-basic-test.yml
  • path filtering so the workflow mainly runs for idp-basic and build-related changes
  • dockerTest=true in the test step so the workflow is ready for multi-database execution when idp-basic backend tests are present
  • artifact upload for plugins/idp-basic test reports on failure

Why are the changes needed?

idp-basic currently does not have a dedicated module-level CI workflow. Adding one makes the module easier to validate independently and prepares CI coverage for future backend tests in this module.

Fix: #11076

Does this PR introduce any user-facing change?

No.

How was this patch tested?

./gradlew :plugins:idp-basic:test -PskipITs -PskipDockerTests=false -PskipWeb=true

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 13, 2026 08:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a dedicated GitHub Actions workflow to run the :plugins:idp-basic:test Gradle task, enabling module-scoped CI coverage for the idp-basic plugin.

Changes:

  • Introduces .github/workflows/idp-basic-test.yml to run :plugins:idp-basic:test on push/PR and manual dispatch.
  • Uses dorny/paths-filter plus a module existence check to avoid running the workflow when unrelated files change.
  • Uploads plugins/idp-basic test reports as artifacts when the test job fails.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@lasdf1234
Copy link
Copy Markdown
Collaborator Author

@roryqi Could you please run this "ci" for me?

with:
filters: |
source_changes:
- plugins/idp-basic/**
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you relies on core module, you should include core module here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got resolved.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

Code Coverage Report

Overall Project 66.03% 🟢
Files changed No Java source files changed -

Module Coverage
aliyun 1.72% 🔴
api 47.13% 🟢
authorization-common 85.96% 🟢
aws 1.08% 🔴
azure 2.47% 🔴
catalog-common 10.2% 🔴
catalog-fileset 80.02% 🟢
catalog-glue 83.41% 🟢
catalog-hive 81.83% 🟢
catalog-jdbc-clickhouse 79.18% 🟢
catalog-jdbc-common 43.93% 🟢
catalog-jdbc-doris 80.28% 🟢
catalog-jdbc-hologres 54.03% 🟢
catalog-jdbc-mysql 79.23% 🟢
catalog-jdbc-oceanbase 78.38% 🟢
catalog-jdbc-postgresql 82.05% 🟢
catalog-jdbc-starrocks 78.27% 🟢
catalog-kafka 77.01% 🟢
catalog-lakehouse-generic 45.14% 🟢
catalog-lakehouse-hudi 79.1% 🟢
catalog-lakehouse-iceberg 86.98% 🟢
catalog-lakehouse-paimon 76.85% 🟢
catalog-model 77.72% 🟢
cli 44.51% 🟢
client-java 77.96% 🟢
common 50.0% 🟢
core 82.18% 🟢
filesystem-hadoop3 76.97% 🟢
flink 0.0% 🔴
flink-common 43.17% 🟢
flink-runtime 0.0% 🔴
gcp 14.12% 🔴
hadoop-common 10.39% 🔴
hive-metastore-common 46.83% 🟢
iceberg-common 55.46% 🟢
iceberg-rest-server 69.61% 🟢
idp-basic 94.68% 🟢
integration-test-common 0.0% 🔴
jobs 66.17% 🟢
lance-common 19.95% 🔴
lance-rest-server 62.78% 🟢
lineage 53.02% 🟢
optimizer 82.87% 🟢
optimizer-api 21.95% 🔴
server 85.93% 🟢
server-common 71.21% 🟢
spark 32.79% 🔴
spark-common 39.09% 🔴
trino-connector 35.14% 🔴

Copy link
Copy Markdown
Contributor

@roryqi roryqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@lasdf1234
Copy link
Copy Markdown
Collaborator Author

LGTM.

Got. could merge pr? THX.

@roryqi roryqi merged commit e9c62fb into apache:main May 15, 2026
32 of 33 checks passed
Abyss-lord pushed a commit to Abyss-lord/gravitino that referenced this pull request May 20, 2026
### What changes were proposed in this pull request?

This PR adds a dedicated GitHub Actions workflow for
`:plugins:idp-basic:test`.

It introduces:
- a standalone `idp-basic` workflow under
`.github/workflows/idp-basic-test.yml`
- path filtering so the workflow mainly runs for `idp-basic` and
build-related changes
- `dockerTest=true` in the test step so the workflow is ready for
multi-database execution when `idp-basic` backend tests are present
- artifact upload for `plugins/idp-basic` test reports on failure

### Why are the changes needed?

`idp-basic` currently does not have a dedicated module-level CI
workflow. Adding one makes the module easier to validate independently
and prepares CI coverage for future backend tests in this module.

Fix: apache#11076

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

```bash
./gradlew :plugins:idp-basic:test -PskipITs -PskipDockerTests=false -PskipWeb=true
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Subtask] Add CI workflow for idp-basic module tests

3 participants