Skip to content

feat(evaluation): ⚖️ eradicate blind logical scoring and implement st… #44

feat(evaluation): ⚖️ eradicate blind logical scoring and implement st…

feat(evaluation): ⚖️ eradicate blind logical scoring and implement st… #44

Workflow file for this run

name: Python CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install ruff pytest
- name: Lint with Ruff
run: |
# Stop the build if there are Python syntax errors or undefined names
ruff check . --select=E9,F63,F7,F82 --output-format=github
# Default linting (ignoring rule violations to just show warnings)
ruff check . --exit-zero
- name: Test with pytest
run: |
if [ -d "tests" ]; then
pytest tests/ || echo "No tests found or tests failed - continuing for now"
else
echo "No tests directory found."
fi