Skip to content

Add Hurl smoke tests for examples#1295

Merged
lovasoa merged 39 commits into
mainfrom
sqlpage-examples-docker
Jun 2, 2026
Merged

Add Hurl smoke tests for examples#1295
lovasoa merged 39 commits into
mainfrom
sqlpage-examples-docker

Conversation

@lovasoa
Copy link
Copy Markdown
Collaborator

@lovasoa lovasoa commented Jun 2, 2026

Summary

Adds Docker Compose coverage and a shared Hurl smoke test for the examples.

  • Adds docker-compose.yml files for examples that were missing one.
  • Adds one root test.hurl smoke test and symlinks it into each example so the runner can simply discover and run example-local tests.
  • Adds scripts/test-examples-hurl.sh, which starts each example compose stack, runs its test.hurl, and tears the stack down.
  • Adds a focused GitHub Actions workflow for the example Hurl tests.
  • Removes unnecessary database host-port publishing and avoids building SQLPage from source in example smoke paths where the public image is enough.

Validation

  • hurlfmt --check test.hurl
  • bash -n scripts/test-examples-hurl.sh
  • docker compose -f ... config --quiet for all example compose files
  • git diff --check
  • Local Hurl runs passed for representative examples including plots tables and forms, SQLPage developer user interface, corporate-conundrum, and the suite up to the MSSQL example.

Local full-suite validation stopped at the MSSQL example because SQL Server 2022 does not run cleanly under macOS arm64/QEMU in this environment. The draft PR is intended to let GitHub Actions validate that case on Ubuntu amd64.

@lovasoa lovasoa force-pushed the sqlpage-examples-docker branch from f5009af to 0031152 Compare June 2, 2026 09:50
@lovasoa lovasoa force-pushed the sqlpage-examples-docker branch from 0031152 to 680fc44 Compare June 2, 2026 09:53
@lovasoa lovasoa marked this pull request as ready for review June 2, 2026 13:39
@lovasoa lovasoa force-pushed the sqlpage-examples-docker branch from 5d82506 to 69ac003 Compare June 2, 2026 13:42
@lovasoa lovasoa merged commit 635650b into main Jun 2, 2026
50 checks passed
@lovasoa lovasoa deleted the sqlpage-examples-docker branch June 2, 2026 13:56
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