Skip to content

Commit eaaa90d

Browse files
committed
chore: save logs before stopping all containers
For unknown reason, sometimes "Save report" step wasn't executed. Try to move it close to the step that was failing. Relate to #13
1 parent cf3087b commit eaaa90d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/integration-tests.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@ jobs:
100100
--timestamps \
101101
${{ matrix.docker-service-name }} | tee ../tests-reports/application-logs.txt
102102
103+
- name: Save report
104+
if: failure()
105+
uses: actions/[email protected] # https://github.com/actions/upload-artifact
106+
with:
107+
name: ${{ matrix.docker-service-name }}-report-and-logs
108+
path: tests-reports/
109+
103110
- name: Stop containers
104111
if: always()
105112
working-directory: docker
@@ -108,10 +115,3 @@ jobs:
108115
--volumes \
109116
--remove-orphans \
110117
--rmi local
111-
112-
- name: Save report
113-
if: failure()
114-
uses: actions/[email protected] # https://github.com/actions/upload-artifact
115-
with:
116-
name: ${{ matrix.docker-service-name }}-report-and-logs
117-
path: tests-reports/

0 commit comments

Comments
 (0)