@@ -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,17 @@ jobs:
6367 python-version : " 3.10"
6468 cache : true
6569 cache-dependency-path : " ./**/pyproject.toml"
70+
71+ - name : Re-lock PDM dependencies
72+ run : pdm lock -d
73+
6674 - name : Install dependencies
6775 working-directory : ./chipflow-examples
6876 run : |
6977 pdm install
7078 pdm run python -m ensurepip
7179 pdm run python -m pip install -e ../chipflow-lib
80+
7281 - name : Run tests
7382 working-directory : ./chipflow-examples/minimal
7483 run : |
8695 with :
8796 fetch-depth : 0
8897 path : chipflow-lib
98+
8999 - name : Check out chipflow-examples
90100 uses : actions/checkout@v4
91101 with :
@@ -99,12 +109,17 @@ jobs:
99109 python-version : " 3.10"
100110 cache : true
101111 cache-dependency-path : " ./**/pyproject.toml"
112+
113+ - name : Re-lock PDM dependencies
114+ run : pdm lock -d
115+
102116 - name : Install dependencies
103117 working-directory : ./chipflow-examples
104118 run : |
105119 pdm install
106120 pdm run python -m ensurepip
107121 pdm run python -m pip install -e ../chipflow-lib
122+
108123 - name : Run tests
109124 working-directory : ./chipflow-examples/minimal
110125 run : |
0 commit comments