Skip to content

Commit

Permalink
update yml + conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
chw-microsoft committed Feb 6, 2024
1 parent c636d5a commit 30b4dd2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/promptflow-executor-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ jobs:
-t ${{ env.testWorkingDirectory }}/tests/executor/e2etests `
-l eastus `
-m "all" `
-n ${{ steps.cpu-cores.outputs.count }}`
--coverage-config ${{ env.testWorkingDirectory }}/tests/executor/.coveragerc `
--disable-cov-branch
- name: Upload Test Results
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/promptflow-executor-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ jobs:
-t ${{ env.testWorkingDirectory }}/tests/executor/unittests `
-l eastus `
-m "all" `
-n ${{ steps.cpu-cores.outputs.count }} `
--coverage-config ${{ env.testWorkingDirectory }}/tests/executor/.coveragerc `
--disable-cov-branch
- name: Upload Test Results
Expand Down
1 change: 1 addition & 0 deletions src/promptflow/tests/executor/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def recording_injection(recording_setup, process_override):
finally:
if is_replay() or is_record():
RecordStorage.get_instance().delete_lock_file()
if is_live():
delete_count_lock_file()
recording_array_reset()

Expand Down
1 change: 1 addition & 0 deletions src/promptflow/tests/sdk_cli_test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ def recording_injection(mocker: MockerFixture):
finally:
if is_replay() or is_record():
RecordStorage.get_instance().delete_lock_file()
if is_live():
delete_count_lock_file()
recording_array_reset()

Expand Down

0 comments on commit 30b4dd2

Please sign in to comment.