Skip to content

Run the test suite on pull requests - #11

Merged
mastacontrola merged 1 commit into
mainfrom
ci-test-stub
Aug 17, 2026
Merged

Run the test suite on pull requests#11
mastacontrola merged 1 commit into
mainfrom
ci-test-stub

Conversation

@mastacontrola

Copy link
Copy Markdown
Member

Six lines pointing at fog-plugins-tests.yml, the reusable runner merged in FOGProject/fog-workflows#16. The pull_request trigger cannot live there — it only fires from the repository the PR is opened against — so the stub has to be here, and everything that might change lives in the runner.

Until now the plugin tests ran only when a maintainer remembered to, and they are the only automated check on code that decides who becomes an administrator of a FOG server: the OIDC provider rules, the flow's state and nonce handling, and the permissions on the group association tabs.

Matrix is PHP 7.4 and 8.3 — 7.4 because that is the FOG floor a plugin has to keep working on, and PHP-8-only syntax lints clean before dying as a bodyless 500 inside somebody else's page.

This PR is its own first test.

🤖 Generated with Claude Code

https://claude.ai/code/session_017aBSWrDArXHTpKWkkN27LR

Six lines pointing at the reusable runner in fog-workflows, which is
where a pull_request trigger cannot live: it only fires from the
repository the PR is opened against.

Until now the plugin tests ran only when a maintainer remembered to,
and they are the only automated check on code that decides who becomes
an administrator of a FOG server -- the OIDC provider rules, the flow's
state and nonce handling, and the permissions on the group association
tabs.

Requires FOGProject/fog-workflows#16 on main.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017aBSWrDArXHTpKWkkN27LR
@mastacontrola
mastacontrola merged commit 9a7c95d into main Aug 17, 2026
2 checks passed
@mastacontrola
mastacontrola deleted the ci-test-stub branch August 17, 2026 16:37
mastacontrola added a commit that referenced this pull request Aug 17, 2026
The workflow directory added in #11 is tracked, and the release asset is a
git archive of the tag, so without an export-ignore it unpacks into the web
root as lib/plugins/.github/workflows/tests.yml. That is the same reason
README.md, LICENSE and tests/ are already excluded: the installer untars this
straight into a directory the web server serves.


Claude-Session: https://claude.ai/code/session_017aBSWrDArXHTpKWkkN27LR

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
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