Run within bash
Some checks failed
Run Python tests (through Pytest) / Test (push) Failing after 24s
Verify Python project can be installed, loaded and have version checked / Test (push) Has been cancelled

This commit is contained in:
Jon Michael Aanes 2025-04-13 17:13:51 +02:00
parent 024f987b8d
commit 3f71159ecf

View File

@ -30,8 +30,23 @@ def generate_branch_name(issue_number: str, issue_title: str) -> str:
logger = logging.getLogger(__name__)
AIDER_TEST="virtualenv venv; source venv/bin/activate; pip install -e .; pytest test"
AIDER_LINT="ruff format; ruff check --fix --ignore RUF022 --ignore PGH004; ruff format; ruff check --ignore RUF022 --ignore PGH004;"
def bash_cmd(*commands: str) -> str:
return "bash -c \""+';'.join(cmd)+"\""
AIDER_TEST=bash_cmd(
"virtualenv venv",
"source venv/bin/activate",
"pip install -e .",
"pytest test",
)
AIDER_LINT=bash_cmd(
"ruff format",
"ruff check --fix --ignore RUF022 --ignore PGH004",
"ruff format",
"ruff check --ignore RUF022 --ignore PGH004",
)
MODEL = 'o3-mini'