I am trying to test zip file replacement in the API (https://github.com/kuhlaid/dataverse/blob/691ddb7f3764dab9868d6e2fd6c7f1b93239e622/src/test/java/edu/harvard/iq/dataverse/api/FilesIT.java#L2372C8-L2372C8) but am wondering if the Java print statements will output to the GitHub actions log as part of the Maven unit test? I'm not seeing any of my print statements as part of action output. Is there a way to print statements from the Java testing files so they appear in the GitHub action logs?
No, FilesIT is an API test. We don't have these hooked up to GitHub Actions yet. That's what this issue is about: Automate running of API test suite in containers #9790
Are you able to run FilesIT locally? It should be mvn test -Dtest=FilesIT.
You'll need to point it again a Dataverse server, of course. Either https://demo.dataverse.org or perhaps Dataverse running in containers on localhost.
Thank you @Philip Durbin. I do not have a local environment setup (aside from a basic Docker instance).
Oh, well, Docker is enough. Should work.
Maybe you could try the mvn command above.
kuhlaid has marked this topic as resolved.
Last updated: Nov 01 2025 at 14:11 UTC