|
22 | 22 | with: |
23 | 23 | python-version: '3.12' |
24 | 24 |
|
| 25 | + - name: Install test dependencies |
| 26 | + run: pip install pytest |
25 | 27 | - name: Run BM25 search tests |
26 | 28 | run: | |
27 | 29 | python3 -m pytest scripts/tests/ -v |
@@ -147,7 +149,7 @@ jobs: |
147 | 149 | <ImplicitUsings>enable</ImplicitUsings> |
148 | 150 | </PropertyGroup> |
149 | 151 | <ItemGroup> |
150 | | - <PackageReference Include="GeneralUpdate.Core" Version="10.4.6" /> |
| 152 | + <PackageReference Include="GeneralUpdate.Core" Version="10.5.0-beta.4" /> |
151 | 153 | </ItemGroup> |
152 | 154 | </Project> |
153 | 155 | "@ | Out-File -FilePath "$testDir\TestProject.csproj" -Encoding UTF8 |
@@ -185,23 +187,26 @@ jobs: |
185 | 187 | - name: Build scaffold projects |
186 | 188 | run: | |
187 | 189 | $scaffoldDir = ".claude/skills/generalupdate-init/project-scaffold" |
| 190 | + $rootDir = "C:\tmp\verify-scaffold" |
188 | 191 |
|
189 | | - # Create a temp solution |
190 | | - $testDir = "C:\tmp\verify-scaffold" |
191 | | - New-Item -ItemType Directory -Path $testDir -Force | Out-Null |
| 192 | + # Use separate subdirectories so each project only sees its own .cs files |
| 193 | + $clientDir = "$rootDir\Client" |
| 194 | + $upgradeDir = "$rootDir\Upgrade" |
| 195 | + New-Item -ItemType Directory -Path $clientDir -Force | Out-Null |
| 196 | + New-Item -ItemType Directory -Path $upgradeDir -Force | Out-Null |
192 | 197 |
|
193 | | - Copy-Item "$scaffoldDir\ClientApp.csproj" "$testDir\ClientApp.csproj" |
194 | | - Copy-Item "$scaffoldDir\UpgradeApp.csproj" "$testDir\UpgradeApp.csproj" |
195 | | - Copy-Item "$scaffoldDir\ClientProgram.cs" "$testDir\ClientProgram.cs" |
196 | | - Copy-Item "$scaffoldDir\UpgradeProgram.cs" "$testDir\UpgradeProgram.cs" |
| 198 | + Copy-Item "$scaffoldDir\ClientApp.csproj" "$clientDir\ClientApp.csproj" |
| 199 | + Copy-Item "$scaffoldDir\UpgradeApp.csproj" "$upgradeDir\UpgradeApp.csproj" |
| 200 | + Copy-Item "$scaffoldDir\ClientProgram.cs" "$clientDir\Program.cs" |
| 201 | + Copy-Item "$scaffoldDir\UpgradeProgram.cs" "$upgradeDir\Program.cs" |
197 | 202 |
|
198 | 203 | # Build Client |
199 | | - dotnet build "$testDir\ClientApp.csproj" 2>&1 |
| 204 | + dotnet build "$clientDir\ClientApp.csproj" 2>&1 |
200 | 205 | if ($LASTEXITCODE -ne 0) { throw "ClientApp build failed" } |
201 | 206 | echo "✅ ClientApp compiles" |
202 | 207 |
|
203 | 208 | # Build Upgrade |
204 | | - dotnet build "$testDir\UpgradeApp.csproj" 2>&1 |
| 209 | + dotnet build "$upgradeDir\UpgradeApp.csproj" 2>&1 |
205 | 210 | if ($LASTEXITCODE -ne 0) { throw "UpgradeApp build failed" } |
206 | 211 | echo "✅ UpgradeApp compiles" |
207 | 212 |
|
|
0 commit comments