Skip to content

Commit 649e664

Browse files
committed
Fix path to integration test result
1 parent e483591 commit 649e664

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/phpunit9-integration.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@
4949
<listener class="Magento\TestFramework\ErrorLog\Listener"/>
5050
</listeners>
5151
<logging>
52-
<log type="junit" target="../../../var/test-results/integration.xml"/>
52+
<!-- need to specify absolute path to mounted directory, because Magento is installed in /tmp/m2 -->
53+
<log type="junit" target="/github/workspace/var/test-results/integration.xml"/>
5354
<!-- for phpunit 9.5 change to:
54-
<junit outputFile="../../../var/test-results/integration.xml"/>
55+
<junit outputFile="/github/workspace/var/test-results/integration.xml"/>
5556
-->
5657
</logging>
5758
</phpunit>

.github/workflows/tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ jobs:
109109
uses: actions/upload-artifact@v2
110110
with:
111111
name: Integration Test Results
112-
# /tmp/m2 is $MAGENTO_ROOT in integration test action
113-
path: /tmp/m2/var/test-results/integration.xml
112+
path: var/test-results/integration.xml
114113

115114
phpmd:
116115
name: Magento 2 Mess Detector

0 commit comments

Comments
 (0)