Skip to content

12367 GitHub actions workflow for jenkins redundancy#12368

Open
srmanda-cs wants to merge 11 commits intoIQSS:developfrom
uncch-rdmc:12367-github-actions-workflow-for-jenkins-redundancy
Open

12367 GitHub actions workflow for jenkins redundancy#12368
srmanda-cs wants to merge 11 commits intoIQSS:developfrom
uncch-rdmc:12367-github-actions-workflow-for-jenkins-redundancy

Conversation

@srmanda-cs
Copy link
Copy Markdown

@srmanda-cs srmanda-cs commented Apr 29, 2026

What this PR does / why we need it:
Add a GitHub Actions Workflow that replicates the exact same tests that Jenkins run with the same configurations, but with containers instead

Which issue(s) this PR closes:

Special notes for your reviewer:
All your suggestions and criticism are deeply welcome, and since it is a major workflow I'm willing to work on it again and again until it meets Dataverse's needs accurately and addresses any concerns the team has. There will probably be a lot, since this is a prototype workflow that I quickly hacked together in a few weeks.

Suggestions on how to test this:
Clicking run workflow should do it.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
N/A

Is there a release notes update needed for this change?:
N/A

Additional documentation:
Depends on where and how you would want me to document it.

Copilot AI review requested due to automatic review settings April 29, 2026 14:45
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 new GitHub Actions workflow intended to run the same API/integration test suite as Jenkins, but against a Dataverse stack started via the Maven container tooling, improving CI redundancy and visibility of failures.

Changes:

  • Added .github/workflows/container_integration_tests.yml to build/start the container stack, run tests/integration-tests.txt, and publish test artifacts/results.
  • Updated SearchIT to search for the dataset via the id:dataset_<id> query pattern.
  • Disabled testRetrieveMyDataCollections in DataRetrieverApiIT.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 8 comments.

File Description
src/test/java/edu/harvard/iq/dataverse/api/SearchIT.java Adjusts dataset search query to use id:dataset_<id> format.
src/test/java/edu/harvard/iq/dataverse/api/DataRetrieverApiIT.java Disables a failing/unstable test method.
.github/workflows/container_integration_tests.yml Introduces a new container-based integration test workflow, including reporting and artifacts.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/container_integration_tests.yml
Comment thread .github/workflows/container_integration_tests.yml
Comment thread .github/workflows/container_integration_tests.yml Outdated
Comment thread .github/workflows/container_integration_tests.yml Outdated
Comment thread .github/workflows/container_integration_tests.yml Outdated
Comment thread .github/workflows/container_integration_tests.yml
Comment thread src/test/java/edu/harvard/iq/dataverse/api/DataRetrieverApiIT.java Outdated
Comment on lines +227 to +231
# The pom.xml automatically merged the files and put them here:
mvn coveralls:report \
-P all-unit-tests \
-DrepoToken=$COVERALLS_REPO_TOKEN \
-DjacocoReports=target/site/jacoco-merged-test-coverage-report/jacoco.xml
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This is probably wrong, but let me verify just in case.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This is right, JaCoCo reporting is failing

@pdurbin pdurbin moved this to In Review 🔎 in IQSS Dataverse Project Apr 29, 2026
@pdurbin pdurbin self-assigned this Apr 29, 2026
srmanda-cs and others added 9 commits April 29, 2026 11:06
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Updated concurrency group name to include branch reference and removed .txt files from paths-ignore.
Removed .txt files from paths-ignore in workflow.
Temporarily disable unreliable integration test for retrieving data collections.
Removed force_run input from workflow dispatch.
Replace curl command with docker cp for SUSHI config file.
Replaced local file copy with curl command to fetch SUSHI config.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review 🔎

Development

Successfully merging this pull request may close these issues.

Suggestion: GitHub Actions Workflow for Jenkins Redundancy Let contributors know why tests are failing

3 participants