Skip to content

Commit f04375d

Browse files
authored
Merge pull request #194 from gdsfactory/remove_samples_from_wheel
remove samples from wheel
2 parents 8ab0041 + 1a53b2e commit f04375d

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v6
11+
- name: Remove samples
12+
run: make rm-samples
1113
- name: Set up Python
1214
uses: actions/setup-python@v6
1315
with:

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
install:
22
uv sync --extra docs --extra dev
33

4+
rm-samples:
5+
rm -rf cspdk/si220/oband/samples cspdk/si220/cband/samples cspdk/sin300/samples cspdk/si500/samples
6+
47
test:
58
uv run pytest -s tests/test_si220_cband.py
69
uv run pytest -s tests/test_si220_oband.py

cspdk/si220/cband/samples/get_route_sc.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
import gdsfactory as gf
44

5-
from cspdk.si220.cband import cells, tech
5+
from cspdk.si220.cband import PDK, cells, tech
66

77
if __name__ == "__main__":
8+
PDK.activate()
9+
810
c = gf.Component("sample_connect")
911
mmi1 = c << cells.mmi1x2()
1012
mmi2 = c << cells.mmi1x2()

0 commit comments

Comments
 (0)