Document how to run the pull request checks locally #2639

Open
maxence468 wants to merge 1 commit from upstream-pr/2641 into main
maxence468 commented 2026-11-25 17:25:03 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by maxence468 on 2026-11-25T17:25:03Z.


Add the two Clippy configurations and locked workspace test command to the README, alongside the asset policy for test fixtures. Contributors can run these checks without game data. Verified the commands against the CI workflow and ran git diff --check.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6609950943 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2641). Originally posted by [maxence468](https://github.com/maxence468) on 2026-11-25T17:25:03Z. --- Add the two Clippy configurations and locked workspace test command to the README, alongside the asset policy for test fixtures. Contributors can run these checks without game data. Verified the commands against the CI workflow and ran git diff --check.
cloph-dsp commented 2026-11-25 18:02:46 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by cloph-dsp on 2026-11-25T17:38:00Z.


Independent Windows verification of PR #2641 (head 93b1644), no game data and no source edits.

  • The README diff adds a Contributing section with three commands; they match .github/workflows/ci.yml verbatim: cargo clippy --workspace --all-targets --locked -- -D warnings, cargo clippy --workspace --all-targets --all-features --locked -- -D warnings, and cargo test --workspace --locked.
  • cargo test --locked -p xtask: 6 passed, 0 failed.
  • git diff --check: clean.
  • Limitation: Clippy is unavailable locally (cargo 1.100.0 is a direct binary with no clippy component; the repo pins 1.98.1), and the full cargo test --workspace --locked was not run.

No bug found. AI-assisted (Hy4 flash).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7169781210 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2641#issuecomment-7169781210). Originally posted by [cloph-dsp](https://github.com/cloph-dsp) on 2026-11-25T17:38:00Z. --- Independent Windows verification of PR #2641 (head `93b1644`), no game data and no source edits. - The README diff adds a Contributing section with three commands; they match `.github/workflows/ci.yml` verbatim: `cargo clippy --workspace --all-targets --locked -- -D warnings`, `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings`, and `cargo test --workspace --locked`. - `cargo test --locked -p xtask`: **6 passed**, 0 failed. - `git diff --check`: clean. - Limitation: Clippy is unavailable locally (cargo 1.100.0 is a direct binary with no clippy component; the repo pins 1.98.1), and the full `cargo test --workspace --locked` was not run. No bug found. AI-assisted (Hy4 flash).
kotekompotek commented 2026-11-25 18:02:50 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by kotekompotek on 2026-11-25T17:47:59Z.


Verified against ci.yml: the three commands match the workflow (clippy default + all-features with --locked -D warnings, cargo test --workspace --locked). Accurate.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7170016234 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2641#issuecomment-7170016234). Originally posted by [kotekompotek](https://github.com/kotekompotek) on 2026-11-25T17:47:59Z. --- Verified against `ci.yml`: the three commands match the workflow (clippy default + all-features with `--locked -D warnings`, `cargo test --workspace --locked`). Accurate.
Marvisak commented 2026-11-26 00:03:27 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T23:22:25Z.


Automated triage for the maintainers.

This adds a Contributing section to README.md that repeats the three commands from .github/workflows/ci.yml. The commands are accurate, but the workflow file is already the source of truth for them, and the project keeps README changes to what VIctory does and how to run it; a copy of CI commands is one more place to keep in sync without adding capability, so it falls under the README changes the project does not take. If a maintainer wants this section, removing the label keeps the PR open.

This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the triage: proposed close label.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7177471480 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2641#issuecomment-7177471480). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T23:22:25Z. --- <!-- victory-triage v1 head=93b16449519ec561582d55771bbabb585c52ffd3 verdict=proposed-close at=2026-11-25T23:22:18Z --> Automated triage for the maintainers. This adds a Contributing section to README.md that repeats the three commands from .github/workflows/ci.yml. The commands are accurate, but the workflow file is already the source of truth for them, and the project keeps README changes to what VIctory does and how to run it; a copy of CI commands is one more place to keep in sync without adding capability, so it falls under the README changes the project does not take. If a maintainer wants this section, removing the label keeps the PR open. This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the `triage: proposed close` label. --- _Generated by [Claude Code](https://claude.ai/code)_
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2641:upstream-pr/2641'
git switch 'upstream-pr/2641'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2641'
git switch 'upstream-pr/2641'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2641'
git switch 'upstream-pr/2641'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2641'
git switch 'main'
git merge --squash 'upstream-pr/2641'
git switch 'main'
git merge --ff-only 'upstream-pr/2641'
git switch 'main'
git merge 'upstream-pr/2641'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Marvisak/VIctory!2639
No description provided.