Skip to content

Commit a53dade

Browse files
- Include tmp files from tests for debug.
1 parent d7a15e0 commit a53dade

File tree

1 file changed

+70
-7
lines changed

1 file changed

+70
-7
lines changed

.github/workflows/build.yml

Lines changed: 70 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,13 @@ jobs:
227227
with:
228228
name: testing-windows-robot-reports
229229
path: test/robot/reports
230+
231+
- name: Upload robot testing tmp
232+
if: always()
233+
uses: actions/[email protected]
234+
with:
235+
name: testing-windows-robot-tmp
236+
path: test/robot/functional/tmp
230237

231238
- name: Run robot integration tests
232239
if: env.AZURE_CLIENT_SECRET != '' && startsWith(env.STATE_SOURCE_TAG, 'build-release')
@@ -643,6 +650,13 @@ jobs:
643650
with:
644651
name: testing-linuxtest-${{ env.MATRIX_REGISTRY }}-robot-reports
645652
path: test/robot/reports
653+
654+
- name: Upload robot testing tmp
655+
if: always()
656+
uses: actions/[email protected]
657+
with:
658+
name: testing-linuxtest-${{ env.MATRIX_REGISTRY }}-robot-tmp
659+
path: test/robot/functional/tmp
646660

647661
- name: Run robot integration tests
648662
if: env.AZURE_CLIENT_SECRET != '' && startsWith(env.STATE_SOURCE_TAG, 'build-release') && matrix.registry != 'test/registry'
@@ -684,13 +698,27 @@ jobs:
684698
stackqlVersion="$(stackql --version 2>&1 | head -n 1)"
685699
echo "stackql location: ${stackqlLocation}"
686700
echo "stackql version: ${stackqlVersion}"
687-
688-
- name: Output from mocked deb package functional tests
689-
if: always() && matrix.registry != 'test/registry'
690-
env:
691-
PYTHONPATH: '${{ env.PYTHONPATH }}:${{ github.workspace }}/test/python'
692-
run: |
693-
cat ./test/robot/reports/output.xml
701+
702+
- name: Upload robot testing process deb logs
703+
if: matrix.registry != 'test/registry'
704+
uses: actions/[email protected]
705+
with:
706+
name: testing-linuxtest-deb-${{ env.MATRIX_REGISTRY }}-robot-process-logs
707+
path: test/robot/log
708+
709+
- name: Upload robot testing deb reports
710+
if: matrix.registry != 'test/registry'
711+
uses: actions/[email protected]
712+
with:
713+
name: testing-linuxtest-deb-${{ env.MATRIX_REGISTRY }}-robot-reports
714+
path: test/robot/reports
715+
716+
- name: Upload robot testing deb tmp
717+
if: matrix.registry != 'test/registry'
718+
uses: actions/[email protected]
719+
with:
720+
name: testing-linuxtest-deb-${{ env.MATRIX_REGISTRY }}-robot-tmp
721+
path: test/robot/functional/tmp
694722

695723
linuxarmbuild:
696724
name: Linux arm64 Build
@@ -880,6 +908,13 @@ jobs:
880908
with:
881909
name: testing-linuxarmbuild-robot-reports
882910
path: test/robot/reports
911+
912+
- name: Upload robot testing tmp
913+
if: always()
914+
uses: actions/[email protected]
915+
with:
916+
name: testing-linuxarmbuild-robot-tmp
917+
path: test/robot/functional/tmp
883918

884919
- name: Run robot integration tests
885920
if: env.AZURE_CLIENT_SECRET != '' && startsWith(env.STATE_SOURCE_TAG, 'build-release')
@@ -986,6 +1021,13 @@ jobs:
9861021
name: testing-linuxarmbuild-deb-robot-reports
9871022
path: test/robot/reports
9881023

1024+
- name: Upload robot testing tmp
1025+
if: always()
1026+
uses: actions/[email protected]
1027+
with:
1028+
name: testing-linuxarmbuild-deb-robot-tmp
1029+
path: test/robot/functional/tmp
1030+
9891031
- name: Upload deb Artifact
9901032
uses: actions/[email protected]
9911033
if: success()
@@ -1090,6 +1132,13 @@ jobs:
10901132
with:
10911133
name: testing-wsltest-robot-reports
10921134
path: test/robot/reports
1135+
1136+
- name: Upload robot testing tmp
1137+
if: always()
1138+
uses: actions/[email protected]
1139+
with:
1140+
name: testing-wsltest-robot-tmp
1141+
path: test/robot/functional/tmp
10931142

10941143
- shell: wsl-bash {0}
10951144
name: Run robot integration tests
@@ -1239,6 +1288,13 @@ jobs:
12391288
with:
12401289
name: testing-macos-robot-reports
12411290
path: test/robot/reports
1291+
1292+
- name: Upload robot testing tmp
1293+
if: always()
1294+
uses: actions/[email protected]
1295+
with:
1296+
name: testing-macos-robot-tmp
1297+
path: test/robot/functional/tmp
12421298

12431299
- name: Run robot integration tests
12441300
if: env.AZURE_CLIENT_SECRET != '' && startsWith(env.STATE_SOURCE_TAG, 'build-release')
@@ -1766,6 +1822,13 @@ jobs:
17661822
name: testing-dockertest-${{ env.PLATFORM_PAIR }}-${{ env.MATRIX_DB_BACKEND }}-robot-reports
17671823
path: test/robot/reports
17681824

1825+
- name: Upload robot testing tmp
1826+
if: always() && env.CI_IS_EXPRESS != 'true' && matrix.platform == 'linux/amd64' && env.BUILD_IMAGE_REQUIRED == 'true'
1827+
uses: actions/[email protected]
1828+
with:
1829+
name: testing-dockertest-${{ env.PLATFORM_PAIR }}-${{ env.MATRIX_DB_BACKEND }}-robot-tmp
1830+
path: test/robot/functional/tmp
1831+
17691832
- name: Run robot integration tests
17701833
if: env.AZURE_CLIENT_SECRET != '' && startsWith(env.STATE_SOURCE_TAG, 'build-release') && matrix.platform == 'linux/amd64' && env.BUILD_IMAGE_REQUIRED == 'true'
17711834
env:

0 commit comments

Comments
 (0)