From 42b83512a917d63cfc6acf4ef22d77dbce0a5b9e Mon Sep 17 00:00:00 2001 From: Dan Mills <52407433+daniel-mills-cqc@users.noreply.github.com> Date: Tue, 16 Apr 2024 19:29:26 +0100 Subject: [PATCH] Add more prints --- .github/workflows/automatic_benchmarks.yml | 6 +++--- automated_benchmarking/automated_benchmarking.py | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) 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,