Skip to content

Codeflash trace decorator #1

Codeflash trace decorator

Codeflash trace decorator #1

name: end-to-end-test
on:
pull_request:
workflow_dispatch:
jobs:
benchmark-bubble-sort-optimization:
runs-on: ubuntu-latest
env:
CODEFLASH_AIS_SERVER: prod
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
CODEFLASH_API_KEY: ${{ secrets.CODEFLASH_API_KEY }}
COLUMNS: 110
MAX_RETRIES: 3
RETRY_DELAY: 5
EXPECTED_IMPROVEMENT_PCT: 5
CODEFLASH_END_TO_END: 1
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python 3.11 for CLI
uses: astral-sh/setup-uv@v5
with:
python-version: 3.11.6
- name: Install dependencies (CLI)
run: |
uv tool install poetry
uv venv
source .venv/bin/activate
poetry install --with dev
- name: Run Codeflash to optimize code
id: optimize_code with benchmarks

Check failure on line 38 in .github/workflows/end-to-end-benchmark-test.yaml

View workflow run for this annotation

GitHub Actions / end-to-end-test

Invalid workflow file

The workflow is not valid. .github/workflows/end-to-end-benchmark-test.yaml (Line: 38, Col: 13): The identifier 'optimize_code with benchmarks' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
run: |
source .venv/bin/activate
poetry run python tests/scripts/end_to_end_test_benchmark_sort.py