Skip to content

🧪 Add integration test for site build and configure CI - #47

Merged
hodovani merged 3 commits into
masterfrom
add-integration-test-and-ci-12096660544533201790
Jul 10, 2026
Merged

🧪 Add integration test for site build and configure CI#47
hodovani merged 3 commits into
masterfrom
add-integration-test-and-ci-12096660544533201790

Conversation

@hodovani

Copy link
Copy Markdown
Owner

🎯 What: The testing gap was that there was no automated integration check happening directly on PRs to verify that the build succeeds without error and produces output. The original build logic was mixed inside script/cibuild.
📊 Coverage: A happy path integration test was added in script/test. It calls the underlying build command (script/build) and explicitly asserts the presence of the _site/index.html artifact.
Result: A fully functional CI setup is now present with GitHub Actions. It prevents broken code from being merged into main by enforcing that the Jekyll site builds and outputs correctly.


PR created automatically by Jules for task 12096660544533201790 started by @hodovani

This change improves testing reliability by separating build logic from testing logic. A dedicated `script/test` executable is introduced to verify the generated site output (`_site/index.html`).

Furthermore, it integrates this test into the existing `script/cibuild` workflow and adds a GitHub Actions configuration `.github/workflows/ci.yml`. This ensures that every Pull Request and push to the `main` branch will automatically be validated against this integration test.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

hodovani and others added 2 commits July 10, 2026 12:12
This change improves testing reliability by separating build logic from testing logic. A dedicated `script/test` executable is introduced to verify the generated site output (`_site/index.html`).

Furthermore, it integrates this test into the existing `script/cibuild` workflow and adds a GitHub Actions configuration `.github/workflows/ci.yml`. This ensures that every Pull Request and push to the `main` branch will automatically be validated against this integration test. The failing `gem build` command has also been removed.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
The GitHub Actions build was failing during the `ruby/setup-ruby@v1` step because it could not successfully run `bundle install` using Ruby 3.1. Updating the workflow configuration to use Ruby 3.2 resolves the dependency issues and ensures the integration test executes properly.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@hodovani
hodovani marked this pull request as ready for review July 10, 2026 12:44
@hodovani
hodovani merged commit 56da641 into master Jul 10, 2026
1 check passed
@hodovani
hodovani deleted the add-integration-test-and-ci-12096660544533201790 branch July 10, 2026 12:45
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.

1 participant