diff --git a/.github/workflows/automatic_benchmarks.yml b/.github/workflows/automatic_benchmarks.yml index ae4c5688c9..4d945b0092 100644 --- a/.github/workflows/automatic_benchmarks.yml +++ b/.github/workflows/automatic_benchmarks.yml @@ -88,14 +88,14 @@ jobs: - name: Test write two to env variable run: echo "RETURN_TEST=$(python tket/automated_benchmarking/automated_benchmarking.py return-test)" >> $GITHUB_ENV + - name: Test + run: echo $RETURN_TEST + - name: Test run benchmarks run: python tket/automated_benchmarking/automated_benchmarking.py percentage-better pytket-benchmarking-store/benchmarking_circuits/quantum_volume temp_compiled QiskitIBMQ PytketIBMQ - name: Test write result to env variable run: echo "RETURN_TEST=$(python tket/automated_benchmarking/automated_benchmarking.py percentage-better pytket-benchmarking-store/benchmarking_circuits/quantum_volume temp_compiled QiskitIBMQ PytketIBMQ)" >> $GITHUB_ENV - - - name: Test - run: echo $RETURN_TEST - name: Test run: echo $RETURN_TEST diff --git a/automated_benchmarking/automated_benchmarking.py b/automated_benchmarking/automated_benchmarking.py index 7812e71341..f6e1cd9243 100644 --- a/automated_benchmarking/automated_benchmarking.py +++ b/automated_benchmarking/automated_benchmarking.py @@ -123,6 +123,10 @@ def percentage_better( compiled_path: Annotated[Path, typer.Argument(help="Path to compiled circuits.")], compilers: Annotated[List[Compilers], typer.Argument(help="Compilers to compare.")], ): + + print("compilers", compilers) + print("compiled_path", compiled_path) + print("circuit_suite_path", circuit_suite_path) storage_manager = LocalStorage( directory_path=compiled_path,