diff --git a/.github/workflows/example_tests.yaml b/.github/workflows/example_tests.yaml index 6cf931f4..e5f7425c 100644 --- a/.github/workflows/example_tests.yaml +++ b/.github/workflows/example_tests.yaml @@ -43,3 +43,4 @@ jobs: python3 examples/amplitude_encoding_mnist/mnist_new.py --epochs 1 python3 examples/amplitude_encoding_mnist/mnist_example.py --epochs 1 python3 examples/PauliSumOp/pauli_sum_op.py + python3 examples/regression/new_run_regression.py --epochs 1 diff --git a/examples/regression/new_run_regression.py b/examples/regression/new_run_regression.py index fdeb5cd4..30fc3aa7 100644 --- a/examples/regression/new_run_regression.py +++ b/examples/regression/new_run_regression.py @@ -305,12 +305,11 @@ def main(): model.set_qiskit_processor(processor_simulation) valid_test(dataflow, q_device, "test", model, device, qiskit=True) + # final valid + valid_test(dataflow, q_device, "valid", model, device, True) except: pass - # final valid - valid_test(dataflow, q_device, "valid", model, device, True) - if __name__ == "__main__": main()