@@ -89,7 +89,7 @@ if ($build)
8989 rm - Force .\build\bdist.win- amd64
9090 rm - Force .\build\lib
9191 Write-Host - ForegroundColor Yellow " [live][BUILD] Building $PackageName package as wheel ..."
92- py -3.13 - m build -- wheel -- no- isolation
92+ py -3.14 - m build -- wheel -- no- isolation
9393
9494 Write-Host - ForegroundColor Yellow " [live][BUILD] Building wheel finished"
9595}
@@ -103,9 +103,9 @@ if ($install)
103103 }
104104 else
105105 { Write-Host - ForegroundColor Cyan " [ADMIN][UNINSTALL] Uninstalling $PackageName ..."
106- py -3.13 - m pip uninstall - y $PackageName
106+ py -3.14 - m pip uninstall - y $PackageName
107107 Write-Host - ForegroundColor Cyan " [ADMIN][INSTALL] Installing $PackageName from wheel ..."
108- py -3.13 - m pip install .\dist\$ ($PackageName.Replace (" ." , " _" ).ToLower())- $PackageVersion - py3- none- any.whl
108+ py -3.14 - m pip install .\dist\$ ($PackageName.Replace (" ." , " _" ).ToLower())- $PackageVersion - py3- none- any.whl
109109
110110 Write-Host - ForegroundColor Cyan " [ADMIN][INSTALL] Closing window in 5 seconds ..."
111111 Start-Sleep - Seconds 5
@@ -142,9 +142,10 @@ if ($doccov)
142142if ($liveunit )
143143{ Write-Host - ForegroundColor DarkYellow " [live][UNIT] Running Unit Tests using pytest ..."
144144
145- $env: GHDL_PREFIX = " C:\Tools\GHDL\6.0.0.dev0-ucrt64-mcode\lib\ghdl"
146145 $env: ENVIRONMENT_NAME = " Windows (x86-64)"
147- pytest - raP -- color= yes -- junitxml= report/ unit/ unittest.xml -- template= html1/ index.html -- report= report/ unit/ html/ index.html - -split - report tests/ unit
146+ pytest - raP -- color= yes -- junitxml= report/ unit/ TestReportSummary.xml -- template= html1/ index.html -- report= report/ unit/ html/ index.html - -split - report tests/ unit
147+
148+ pyedaa- reports - v unittest " --merge=pyTest-JUnit:report/unit/TestReportSummary.xml" " --name=$PackageName " " --pytest=rewrite-dunder-init;reduce-depth:pytest.tests.unit" " --output=pyTest-JUnit:report/unit/unittest.xml"
148149
149150 if ($copyunit )
150151 { cp - Recurse - Force .\report\unit\html\* .\doc\_build\html\unittests
@@ -159,9 +160,10 @@ elseif ($unit)
159160
160161 # Run unit tests
161162 $runUnitFunc = {
162- $env: GHDL_PREFIX = " C:\Tools\GHDL\6.0.0.dev0-ucrt64-mcode\lib\ghdl"
163163 $env: ENVIRONMENT_NAME = " Windows (x86-64)"
164- pytest - raP -- color= yes -- junitxml= report/ unit/ unittest.xml -- template= html1/ index.html -- report= report/ unit/ html/ index.html - -split - report tests/ unit
164+ pytest - raP -- color= yes -- junitxml= report/ unit/ TestReportSummary.xml -- template= html1/ index.html -- report= report/ unit/ html/ index.html - -split - report tests/ unit
165+
166+ pyedaa- reports - v unittest " --merge=pyTest-JUnit:report/unit/TestReportSummary.xml" " --name=$PackageName " " --pytest=rewrite-dunder-init;reduce-depth:pytest.tests.unit" " --output=pyTest-JUnit:report/unit/unittest.xml"
165167 }
166168 $unitJob = Start-Job - Name " UnitTests" - ScriptBlock $runUnitFunc
167169 $jobs += $unitJob
@@ -170,7 +172,6 @@ elseif ($unit)
170172if ($livecov )
171173{ Write-Host - ForegroundColor DarkMagenta " [live][COV] Running Unit Tests with coverage ..."
172174
173- $env: GHDL_PREFIX = " C:\Tools\GHDL\6.0.0.dev0-ucrt64-mcode\lib\ghdl"
174175 $env: ENVIRONMENT_NAME = " Windows (x86-64)"
175176 coverage run -- data- file= .coverage -- rcfile= pyproject.toml - m pytest - ra -- tb= line -- color= yes tests/ unit
176177
@@ -199,7 +200,6 @@ elseif ($cov)
199200
200201 # Collect coverage
201202 $collectCovFunc = {
202- $env: GHDL_PREFIX = " C:\Tools\GHDL\6.0.0.dev0-ucrt64-mcode\lib\ghdl"
203203 $env: ENVIRONMENT_NAME = " Windows (x86-64)"
204204 coverage run -- data- file= .coverage -- rcfile= pyproject.toml - m pytest - ra -- tb= line -- color= yes tests/ unit
205205
0 commit comments