diff --git a/.github/workflows/promptflow-evals-e2e-test.yml b/.github/workflows/promptflow-evals-e2e-test.yml index 63ff9b1a699..afa469ca222 100644 --- a/.github/workflows/promptflow-evals-e2e-test.yml +++ b/.github/workflows/promptflow-evals-e2e-test.yml @@ -70,7 +70,9 @@ jobs: run: poetry install --only test working-directory: ${{ env.WORKING_DIRECTORY }} - name: install recording - run: poetry install + run: | + pip install vcrpy + pip install . working-directory: ${{ env.RECORD_DIRECTORY }} - name: generate end-to-end test config from secret run: echo '${{ secrets.PF_EVALS_E2E_TEST_CONFIG }}' >> connections.json diff --git a/.github/workflows/promptflow-evals-unit-test.yml b/.github/workflows/promptflow-evals-unit-test.yml index 9f0575b7ac6..3b982b5e770 100644 --- a/.github/workflows/promptflow-evals-unit-test.yml +++ b/.github/workflows/promptflow-evals-unit-test.yml @@ -66,7 +66,9 @@ jobs: run: poetry install --only test working-directory: ${{ env.WORKING_DIRECTORY }} - name: install recording - run: poetry install + run: | + pip install vcrpy + pip install . working-directory: ${{ env.RECORD_DIRECTORY }} - name: run unit tests run: poetry run pytest -m unittest --cov=promptflow --cov-config=pyproject.toml --cov-report=term --cov-report=html --cov-report=xml