mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
23 hours ago 1b7a988ed4dab2d0db3152bacd893cb67eb50cab
refs
author Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Friday, June 5, 2026 01:19 +0200
committer Patrick Kollitsch <davidsneighbourdev+gh@gmail.com>
Friday, June 5, 2026 01:21 +0200
commit1b7a988ed4dab2d0db3152bacd893cb67eb50cab
tree d082d0b310de83909468d2fe40bdacb57b5c2f06 tree | zip | gz
parent 399075ed6fdb2abd7afe04019b1b912e4099773c view | diff
fix: test local working tree in quickstart test (#938)

The quickstart test installed the theme via `git submodule add` from the
published remote, so CI (which checks out the PR) and the pre-push hook
never exercised the local code under test — a broken change could pass.

Install the local working tree as the theme by default (via `git ls-files`,
including uncommitted/untracked changes while skipping ignored paths), and
keep the documented published-submodule flow behind `--use-submodule`.

- scripts: add `--theme-path` / `--use-submodule`, default to local mode
- ci: run local mode on every push/PR, submodule mode post-merge on main
- package.json: add `test:quickstart:submodule`

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
3 files modified
299 ■■■■ changed files
.github/workflows/quickstart.yml 12 ●●●●● diff | view | raw | blame | history
package.json 1 ●●●● diff | view | raw | blame | history
scripts/test-hugo-quickstart.ts 286 ●●●● diff | view | raw | blame | history