mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
removed pytest, only have pytest-no-git instead
This commit is contained in:
parent
8fa0980a94
commit
d33fbec85e
2 changed files with 1 additions and 40 deletions
|
|
@ -5,7 +5,7 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
bubble-sort-optimization-no-git:
|
||||
bubble-sort-optimization-pytest-no-git:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CODEFLASH_API_KEY: ${{ secrets.CODEFLASH_API_KEY }}
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
name: end-to-end-test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./cli
|
||||
|
||||
jobs:
|
||||
bubble-sort-optimization:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CODEFLASH_API_KEY: ${{ secrets.CODEFLASH_API_KEY }}
|
||||
COLUMNS: 110
|
||||
MAX_RETRIES: 3
|
||||
RETRY_DELAY: 5
|
||||
EXPECTED_IMPROVEMENT_PCT: 100
|
||||
CODEFLASH_END_TO_END: 1
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Set up Python 3.11
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.11.6
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install poetry
|
||||
poetry install --with dev
|
||||
- name: Run Codeflash to optimize code
|
||||
id: optimize_code
|
||||
run: |
|
||||
poetry env use python
|
||||
poetry run python tests/scripts/end_to_end_test_bubblesort_pytest.py
|
||||
Loading…
Reference in a new issue