@@ -15,19 +15,22 @@ jobs:
1515 steps :
1616 - name : Check out source code
1717 uses : actions/checkout@v4
18- with :
19- fetch-depth : 0
18+
2019 - name : Set up PDM
2120 uses : pdm-project/setup-pdm@v4
21+
22+ - name : Re-lock PDM dependencies
23+ run : pdm lock -d
24+
2225 - name : Install dependencies
23- run : |
24- pdm install
26+ run : pdm install
27+
2528 - name : Run tests
26- run : |
27- pdm run test
29+ run : pdm run test
30+
2831 - name : Run lints
29- run : |
30- pdm run lint
32+ run : pdm run lint
33+
3134 - name : Run doc tests
3235 run : pdm run test-docs
3336
5053 with :
5154 fetch-depth : 0
5255 path : chipflow-lib
56+
5357 - name : Check out chipflow-examples
5458 uses : actions/checkout@v4
5559 with :
@@ -63,12 +67,18 @@ jobs:
6367 python-version : " 3.10"
6468 cache : true
6569 cache-dependency-path : " ./**/pyproject.toml"
70+
71+ - name : Re-lock PDM dependencies
72+ working-directory : ./chipflow-examples
73+ run : pdm lock -d
74+
6675 - name : Install dependencies
6776 working-directory : ./chipflow-examples
6877 run : |
6978 pdm install
7079 pdm run python -m ensurepip
7180 pdm run python -m pip install -e ../chipflow-lib
81+
7282 - name : Run tests
7383 working-directory : ./chipflow-examples/minimal
7484 run : |
8696 with :
8797 fetch-depth : 0
8898 path : chipflow-lib
99+
89100 - name : Check out chipflow-examples
90101 uses : actions/checkout@v4
91102 with :
@@ -99,12 +110,18 @@ jobs:
99110 python-version : " 3.10"
100111 cache : true
101112 cache-dependency-path : " ./**/pyproject.toml"
113+
114+ - name : Re-lock PDM dependencies
115+ working-directory : ./chipflow-examples
116+ run : pdm lock -d
117+
102118 - name : Install dependencies
103119 working-directory : ./chipflow-examples
104120 run : |
105121 pdm install
106122 pdm run python -m ensurepip
107123 pdm run python -m pip install -e ../chipflow-lib
124+
108125 - name : Run tests
109126 working-directory : ./chipflow-examples/minimal
110127 run : |
0 commit comments