Skip to content

ci: enable Rust tests and clippy in PR validation - #71

Merged
aalonsolopez merged 4 commits into
OpenLeagueManager:developfrom
NicoRuedaA:feat/60-enable-ci-tests
May 1, 2026
Merged

ci: enable Rust tests and clippy in PR validation#71
aalonsolopez merged 4 commits into
OpenLeagueManager:developfrom
NicoRuedaA:feat/60-enable-ci-tests

Conversation

@NicoRuedaA

Copy link
Copy Markdown
Contributor

Summary

  • Adds cargo clippy --workspace --all-targets -- -D warnings to the PR validation workflow
  • Adds cargo test --workspace to the PR validation workflow (with continue-on-error due to pre-existing test failures)

Why

The rust-check job previously only ran cargo fmt --check and cargo check --workspace. This PR enables:

  1. Clippy linting - catches common Rust mistakes and enforces best practices
  2. Test execution - runs the test suite on every PR

Tests are set to continue-on-error: true because there are 14 pre-existing test failures in lol_sim_v2 that need to be fixed separately. Once those are resolved, the flag can be removed.

Scope

  • .github/workflows/pr.yml - 7 lines added to rust-check job

Checklist

  • Workflow syntax is valid
  • Clippy will fail the build on warnings (enforced with -D warnings)
  • Tests run but don't block PRs until pre-existing failures are fixed

Closes #60

aalonsolopez and others added 4 commits April 30, 2026 19:38
0.1.2
Version missmatch
Add cargo clippy and cargo test to the rust-check job that runs on
every pull request. Tests are set to continue-on-error since there
are pre-existing test failures in lol_sim_v2 that need to be fixed
separately.

Closes #60
@aalonsolopez
aalonsolopez changed the base branch from main to develop April 30, 2026 23:21
@aalonsolopez
aalonsolopez merged commit 8fca728 into OpenLeagueManager:develop May 1, 2026
3 of 4 checks passed
@NicoRuedaA
NicoRuedaA deleted the feat/60-enable-ci-tests branch May 7, 2026 13:53
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.

ci: enable Rust tests and clippy in PR validation

2 participants