Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script to run tests #215

Merged
merged 7 commits into from
Jan 28, 2025

Conversation

samer-hamood
Copy link
Contributor

@samer-hamood samer-hamood commented Jan 25, 2025

1. Test script

A run-tests.sh was referenced in DEVELOPER.md but was not in the repository. This is now added.

The script checks the code with all the checks run in CI.

It requires Python and Pipx (project dependencies) to be used and installs the following dependencies for development:

  • Poetry
  • pre-commit

It also includes linting with Ruff.

Script Dependencies:

  • Gnu Grep (-P/--perl-regexp option)

2. Lint/Format Fix

Errors and warning messages identified by running the script have been resolved.

@samer-hamood
Copy link
Contributor Author

samer-hamood commented Jan 27, 2025

This PR should fix tests

@samer-hamood
Copy link
Contributor Author

The build (3.8) needs to be bypassed on all PRs 😭

@EntilZha EntilZha merged commit becb012 into EntilZha:master Jan 28, 2025
5 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.

2 participants