Skip to content

Commit 936fec5

Browse files
committed
fix: Use regex to download test results
1 parent 99559ab commit 936fec5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/cicd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
path: test-results
154154

155155
- name: Fix Absolute Code Coverage Paths
156-
run: Get-ChildItem -Path 'test-results' -Filter *.xml -Recurse | Select-Object -ExpandProperty FullName | % { (Get-Content -LiteralPath $_) -Replace 'fullPath="[A-Za-z0-9:\-\/\\]+(src|tests)', 'fullPath="${{ github.workspace }}/$1' | Set-Content -LiteralPath $_ }
156+
run: Get-ChildItem -Path 'test-results' -Filter '*.xml' -Recurse | Select-Object -ExpandProperty FullName | % { (Get-Content -LiteralPath $_) -Replace 'fullPath="[A-Za-z0-9:\-\/\\]+(src|tests)', 'fullPath="${{ github.workspace }}/$1' | Set-Content -LiteralPath $_ }
157157
shell: pwsh
158158

159159
- name: Cache NuGet Packages

.github/workflows/test-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Publish Test Report
2121
uses: dorny/[email protected]
2222
with:
23-
artifact: Testcontainers*
23+
artifact: 'Testcontainers.*'
2424
name: Test Report
2525
path: '*.trx'
2626
reporter: dotnet-trx

0 commit comments

Comments
 (0)