Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 10, 2025

This PR adds a continuous integration workflow that automatically builds the library and runs tests on every pull request and push to the main branch.

What's Changed

Added a new GitHub Actions workflow (.github/workflows/ci.yml) that:

  • Triggers on pushes to main and all pull requests
  • Sets up JDK 17 (Amazon Corretto) to match the existing deployment workflows
  • Builds the project using Maven: mvn --batch-mode clean compile
  • Runs the test suite: mvn --batch-mode test

Why This Matters

This workflow provides automated quality assurance by:

  • Catching build failures early before code is merged
  • Ensuring all tests pass for every change
  • Providing immediate feedback to contributors on pull requests
  • Maintaining code quality standards consistently

The workflow complements the existing snapshot_deploy.yml and release_deploy.yml workflows by focusing purely on validation rather than deployment.

Closes the issue requesting CI automation for builds and tests.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • repository.sonatype.org
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --enable-native-access=ALL-UNNAMED -classpath /usr/share/apache-maven-3.9.11/boot/plexus-classworlds-2.9.0.jar -Dclassworlds.conf=/usr/share/apache-maven-3.9.11/bin/m2.conf -Dmaven.home=/usr/share/apache-maven-3.9.11 -Dlibrary.jansi.path=/usr/share/apache-maven-3.9.11/lib/jansi-native -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/pdfbox-table/pdfbox-table org.codehaus.plexus.classworlds.launcher.Launcher --batch-mode clean compile (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Please add a GitHub action that builds the library and runs the tests


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: entrusc <2729000+entrusc@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub action for building library and running tests Add GitHub Actions CI workflow for builds and tests Oct 10, 2025
Copilot AI requested a review from entrusc October 10, 2025 13:40
@entrusc entrusc marked this pull request as ready for review October 10, 2025 13:43
@entrusc entrusc merged commit 179f4bd into main Oct 10, 2025
2 checks passed
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.

2 participants