Commit d9886da
committed
ci: use baipp to build both packages and test them together
Updates the CI pipeline to use hynek/build-and-inspect-python-package@v2 for both packages:
Package job changes:
- Build vcs-versioning using baipp with 'path: nextgen/vcs-versioning'
- Build setuptools-scm using baipp at repo root
- Download both artifacts and combine into 'All-Packages' artifact
Test job changes:
- Download 'All-Packages' artifact containing both wheels
- Install vcs-versioning wheel first (dependency)
- Install setuptools-scm wheel second
- Run tests for both packages: 'testing/' and 'nextgen/vcs-versioning/testingB/'
- Tests run against installed wheels instead of source code
Distribution jobs updated:
- dist_upload, upload-release-assets, test-pypi-upload now use 'All-Packages'
- Both packages will be uploaded to PyPI on release
This ensures proper packaging validation for both packages and tests them
as they would be installed by end users.1 parent dfd8305 commit d9886da
1 file changed
+40
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
35 | 60 | | |
36 | 61 | | |
37 | 62 | | |
| |||
98 | 123 | | |
99 | 124 | | |
100 | 125 | | |
101 | | - | |
| 126 | + | |
102 | 127 | | |
103 | | - | |
104 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
105 | 135 | | |
106 | 136 | | |
107 | 137 | | |
108 | 138 | | |
109 | 139 | | |
110 | | - | |
| 140 | + | |
| 141 | + | |
111 | 142 | | |
112 | 143 | | |
113 | 144 | | |
| |||
120 | 151 | | |
121 | 152 | | |
122 | 153 | | |
123 | | - | |
| 154 | + | |
124 | 155 | | |
125 | 156 | | |
126 | 157 | | |
| |||
134 | 165 | | |
135 | 166 | | |
136 | 167 | | |
137 | | - | |
| 168 | + | |
138 | 169 | | |
139 | 170 | | |
140 | 171 | | |
| |||
151 | 182 | | |
152 | 183 | | |
153 | 184 | | |
154 | | - | |
| 185 | + | |
155 | 186 | | |
156 | 187 | | |
157 | 188 | | |
| |||
0 commit comments