Skip to content

Commit

Permalink
Use poetry to run pytest in benchmark script
Browse files Browse the repository at this point in the history
The benchmark script has been updated to use 'poetry run' for executing pytest. This change ensures that pytest runs in the context of the poetry environment, appropriately respecting the project
  • Loading branch information
greg-assa committed Dec 21, 2023
1 parent 7a77a24 commit c83c8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_and_upload_benchmarks.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

pytest -s tests/benchmarks/exercism_practice.py \
poetry run pytest -s tests/benchmarks/exercism_practice.py \
--max_iterations 2 \
--max_workers 1 \
--max_benchmarks 4 \
Expand Down

0 comments on commit c83c8fa

Please sign in to comment.