From d33fbec85e842646e2ec67d0e322b3f20a16e728 Mon Sep 17 00:00:00 2001 From: Alvin Ryanputra Date: Tue, 26 Nov 2024 19:21:06 -0500 Subject: [PATCH] removed pytest, only have pytest-no-git instead --- ...to-end-test-bubblesort-pytest-no-git.yaml} | 2 +- .../end-to-end-test-bubblesort-pytest.yaml | 39 ------------------- 2 files changed, 1 insertion(+), 40 deletions(-) rename .github/workflows/{end-to-end-test-bubblesort-no-git.yaml => end-to-end-test-bubblesort-pytest-no-git.yaml} (96%) delete mode 100644 .github/workflows/end-to-end-test-bubblesort-pytest.yaml diff --git a/.github/workflows/end-to-end-test-bubblesort-no-git.yaml b/.github/workflows/end-to-end-test-bubblesort-pytest-no-git.yaml similarity index 96% rename from .github/workflows/end-to-end-test-bubblesort-no-git.yaml rename to .github/workflows/end-to-end-test-bubblesort-pytest-no-git.yaml index f71c854f0..dc18b0d80 100644 --- a/.github/workflows/end-to-end-test-bubblesort-no-git.yaml +++ b/.github/workflows/end-to-end-test-bubblesort-pytest-no-git.yaml @@ -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 }} diff --git a/.github/workflows/end-to-end-test-bubblesort-pytest.yaml b/.github/workflows/end-to-end-test-bubblesort-pytest.yaml deleted file mode 100644 index 2f7fbd1ba..000000000 --- a/.github/workflows/end-to-end-test-bubblesort-pytest.yaml +++ /dev/null @@ -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 \ No newline at end of file