Skip to content

ci: run the addon functional tests - #2710

Draft
acinader wants to merge 1 commit into
plaintextaccounting:mainfrom
acinader:ci-run-addon-tests
Draft

ci: run the addon functional tests#2710
acinader wants to merge 1 commit into
plaintextaccounting:mainfrom
acinader:ci-run-addon-tests

Conversation

@acinader

@acinader acinader commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

-x /addons is vestigial. The condition it worked around was removed in 509e574.

History

hledger/test/cli/addons/ held generated, gitignored scripts from 2014 to 2026. CI excluded
addons.test from 1afe5fb (2017-03-30), and the flag was copied into every shelltest step
written since. 509e574 (2026-02-18) committed real scripts but did not remove the exclusion, so
the tests run under functest and have not run in CI since.

Verification

Same commit, same command, exclusion on and off:

test cases failed
-x /addons (current CI) 1720 0
without it (this PR) 1725 0

The delta is the five cases in addons.test, so they ran rather than being skipped silently.

Also

  • Drops "(excluding addons)" from the step names, and the matching "skipping the ones for addons"
    comment in _binaries-windows-arm64.yml.
  • The commented-out shelltest line in _binaries-windows-arm64.yml is updated for consistency.

Relevance

#2699 adds 10 cases to addons.test and 3 to cli.test. Under the current exclusion most of
that PR's coverage would not run in CI.

This PR is mergeable but marked draft to comply with open PR policy.

AI usage: Claude Opus 5, ~10k output tokens

@acinader
acinader force-pushed the ci-run-addon-tests branch from 813a7a5 to 2878793 Compare August 29, 2026 22:40
hledger/test/cli/addons/ held generated, gitignored scripts from 2014 to 2026.
CI excluded addons.test from 1afe5fb (2017-03-30), and the flag was copied
into every shelltest step written since. 509e574 (2026-02-18) committed real
scripts but did not remove the exclusion, so the tests run under functest and
have not run in CI since.

Same commit, same command, exclusion on and off:

  with -x /addons   1720 cases, 0 failed
  without it        1725 cases, 0 failed

The delta is the five cases in addons.test. Checked on linux (ubuntu-24.04,
this workflow) and mac arm64 (shelltest 1.11).

Also drops "(excluding addons)" from the step names and the matching comment
in _binaries-windows-arm64.yml.

AI usage: Claude Opus 5, ~330k output tokens
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