From c940d1e294321209d05a0bda70a5120eba79c283 Mon Sep 17 00:00:00 2001 From: Lukas Chrostowski Date: Sun, 10 Dec 2023 21:57:37 -0800 Subject: [PATCH] test errors --- .github/workflows/run-layout-tests.yml | 8 +------- .../tech/GSiP/pymacros/tests/test_example_circuit.py | 3 +++ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/run-layout-tests.yml b/.github/workflows/run-layout-tests.yml index 18a6a915..23257815 100644 --- a/.github/workflows/run-layout-tests.yml +++ b/.github/workflows/run-layout-tests.yml @@ -32,10 +32,4 @@ jobs: - name: Test with pytest run: pytest klayout_dot_config/tech - - - name: run python test script - run: | - python $GITHUB_WORKSPACE/klayout_dot_config/tech/GSiP/pymacros/tests/example_circuit.py - - - + \ No newline at end of file diff --git a/klayout_dot_config/tech/GSiP/pymacros/tests/test_example_circuit.py b/klayout_dot_config/tech/GSiP/pymacros/tests/test_example_circuit.py index 22afbc9c..d20a6222 100644 --- a/klayout_dot_config/tech/GSiP/pymacros/tests/test_example_circuit.py +++ b/klayout_dot_config/tech/GSiP/pymacros/tests/test_example_circuit.py @@ -80,6 +80,9 @@ def example_circuit(): connect_pins_with_waveguide(instGC2, 'opt_wg', instY2, 'opt1', waveguide_type=waveguide_type) connect_pins_with_waveguide(instY1, 'opt2', instY2, 'opt3', waveguide_type=waveguide_type) connect_pins_with_waveguide(instY1, 'opt3', instY2, 'opt2', waveguide_type=waveguide_type,turtle_B=[25,-90]) + + # error + instY2.transform(Trans(20000,0)) # Zoom out zoom_out(cell)