Skip to content

Commit b577e17

Browse files
authored
Revert "chore(ci): add final_status property on junit XML [APMSP-2610]" (#303)
* Revert "chore(ci): add final_status property on junit XML [APMSP-2610] (#287)" This reverts commit 2bbc991. * Put back if condition
1 parent 1603dce commit b577e17

File tree

2 files changed

+0
-73
lines changed

2 files changed

+0
-73
lines changed

.github/workflows/add_final_status.xsl

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/dev.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,6 @@ jobs:
6666
run: cd ${BUILD_DIR} && test/tests -r junit -o report.xml
6767
env:
6868
ASAN_OPTIONS: alloc_dealloc_mismatch=0
69-
- name: Add final_status property
70-
if: success() || failure()
71-
run: |
72-
which xsltproc || (apt-get update && apt-get install -y xsltproc)
73-
xml_file=".build/report.xml"
74-
echo "Fixing $xml_file"
75-
tmp_file="$(mktemp)"
76-
xsltproc --output "$tmp_file" ".github/workflows/add_final_status.xsl" "$xml_file"
77-
mv "$tmp_file" "$xml_file"
7869
- name: Upload test report to Datadog
7970
if: success() || failure()
8071
run: |
@@ -165,20 +156,6 @@ jobs:
165156
run: |
166157
& 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\Common7\\Tools\\Launch-VsDevShell.ps1' -arch ${{ matrix.arch }}
167158
.\build\test\tests.exe -r junit -o report.xml
168-
- name: Add final_status property
169-
if: success() || failure()
170-
run: |
171-
$xmlFile = "report.xml"
172-
$xslFile = ".github/workflows/add_final_status.xsl"
173-
$tmpFile = [System.IO.Path]::GetTempFileName()
174-
175-
echo "Fixing $xmlFile"
176-
177-
$transform = New-Object System.Xml.Xsl.XslCompiledTransform
178-
$transform.Load($xslFile)
179-
$transform.Transform($xmlFile, $tmpFile)
180-
181-
Move-Item -Force $tmpFile $xmlFile
182159
- name: Upload test report to Datadog
183160
if: success() || failure()
184161
run: |

0 commit comments

Comments
 (0)