@@ -70,25 +70,42 @@ jobs:
7070 url : https://lucas-scandido.github.io/challenge-robot-ambev/log.html
7171
7272 steps :
73- - name : Setup Pages
74- uses : actions/configure-pages@v5
73+ - name : Setup Python
74+ uses : actions/setup-python@v5
75+ with :
76+ python-version : ' 3.13'
77+
78+ - name : Install Dependencies
79+ run : pip install robotframework
80+
81+ - name : Download Artifacts
82+ uses : actions/download-artifact@v4
83+ with :
84+ path : logs/
85+
86+ - name : Merge Report
87+ run : rebot --merge logs/api-test-results/output.xml logs/e2e-test-results/output.xml
88+
89+ - name : Upload Merge Report
90+ uses : actions/upload-artifact@v4
91+ if : always()
92+ with :
93+ name : test-results
94+ path : ./*.html
95+
96+ - name : Setup Pages
97+ uses : actions/configure-pages@v5
7598
76- - name : Download Artifacts
77- uses : actions/download-artifact@v4
78- with :
79- path : logs/
80-
81- - name : Install Dependencies
82- run : pip install robotframework
83-
84- - name : Merge Reports
85- run : rebot --merge logs/api-test-results/output.xml logs/e2e-test-results/output.xml
86-
87- - name : Upload Artifacts
88- uses : actions/upload-pages-artifact@v3
89- with :
90- path : ./
91-
92- - name : Deploy to Github Pages
93- id : deployment
94- uses : actions/deploy-pages@v4
99+ - name : Download Artifacts
100+ uses : actions/download-artifact@v4
101+ with :
102+ name : test-results
103+
104+ - name : Upload Artifacts
105+ uses : actions/upload-pages-artifact@v3
106+ with :
107+ path : ./
108+
109+ - name : Deploy to Github Pages
110+ id : deployment
111+ uses : actions/deploy-pages@v4
0 commit comments