chore(ci): Use relative paths in junit XML file attribute#7642
chore(ci): Use relative paths in junit XML file attribute#7642cbeauchesne merged 3 commits intomasterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7642 +/- ##
=======================================
Coverage 80.32% 80.32%
=======================================
Files 737 737
Lines 31784 31784
=======================================
Hits 25532 25532
Misses 6252 6252 Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Overall package sizeSelf size: 4.86 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.6 | 81.92 kB | 816.75 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
BenchmarksBenchmark execution time: 2026-03-03 08:54:19 Comparing candidate commit 02ac4d0 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 230 metrics, 30 unstable metrics. |
24ed50b to
f086558
Compare
f086558 to
782493b
Compare
* Use relative names in XML exports * Fix mocha
* Use relative names in XML exports * Fix mocha
What does this PR do?
Uses relatives path in file attribute in XML junit.
Motivation
Following #7595, no owner are set on test executions.
junit XML pushed to test optim require a
fileattribute, in order to have correct test code owners linked by datadog CI.Though, by default, this file attribute is set to absolute paths, something like
/home/runner/work/dd-trace-js/dd-trace-js/packages/datadog-plugin-oracledb/test/integration-test/client.spec.js(see this example).Those absolute path can't be resolved with CODEOWNERS file, so all test reported to test executions was missing an owner.
Before #7595, a owner was set, but only thanks to the defaulting
* @DataDog/dd-trace-js, which has been removed in this this PR.Additional Notes