Skip to content

[FEAT][ci]: configure GitHub Actions for cross-platform linting and tests - #24

Merged
Flink-ddd merged 6 commits into
mainfrom
feat/ci-pipeline
May 19, 2026
Merged

Flink-ddd merged 6 commits into
mainfrom
feat/ci-pipeline

Conversation

@Flink-ddd

Copy link
Copy Markdown
Collaborator

Description

This PR establishes the foundation for our continuous integration (CI) workflow using GitHub Actions. It configures a pure CPU-based linting and testing pipeline to enforce high code quality and strict type safety before code is merged into main.

Additionally, this PR integrates a standardized local pre-commit hooks configuration to automate code style alignment across the repository, resolving all initial formatting, line-length (E501), and syntax anomalies.

Key Changes

  • CI Workflow Configuration: Added .github/workflows/ci.yml covering ruff check, mypy type validation, and pytest stages.
  • Linter & Formatter Upgrade: Configured pyproject.toml to leverage ruff as the primary engine for ultra-fast style policing and static analysis.
  • Pre-commit Automation: Introduced .pre-commit-config.yaml to enable hooks for structural checks (trailing whitespaces, YAML format) and ruff auto-fixes.
  • Hardware-Agnostic Dispatch Testing: Integrated a mocked unit test (rl_engine/tests/test_dispatch.py) allowing the registration pipeline to pass safely on non-GPU environments.
  • Code Refactoring: Sanitized all codebase layout errors, breaking up over-length comment lines (E501) and refactoring unused loop indices (B007).

Related Issues

Closes #22

@Flink-ddd
Flink-ddd merged commit ad78395 into main May 19, 2026
3 checks passed
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.

[FEAT][ci]: configure GitHub Actions for cross-platform linting and tests

1 participant