From ca22736f34e799224e35689db43a83eda8a5c303 Mon Sep 17 00:00:00 2001 From: Jeremy Poulter Date: Tue, 9 May 2023 09:37:03 +0100 Subject: [PATCH] Removed PDF and screen shot, was not working and not important for this PR --- .github/workflows/divert_sim.yaml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/.github/workflows/divert_sim.yaml b/.github/workflows/divert_sim.yaml index 9de89d7e..c7946f1f 100644 --- a/.github/workflows/divert_sim.yaml +++ b/.github/workflows/divert_sim.yaml @@ -89,28 +89,6 @@ jobs: mkdir -p output pytest -v --color=yes --code-highlight yes --junitxml=output/test_results.xml - - - name: Start server to view test results - uses: Eun/http-server-action@v1 - with: - directory: ${{ github.workspace }}/OpenEVSE_WiFi/divert_sim - port: 8080 - no-cache: false - - - name: Generate a PDF for the test results - uses: misaelnieto/web_to_pdf_action@master - with: - webPageURL: http://localhost:8080/view.html - outputFile: OpenEVSE_WiFi/divert_sim/${{ github.ref_name }}_test_results.pdf - pdfOptions: '{"format": "A4", "margin": {"top": "10mm", "left": "10mm", "right": "10mm", "bottom": "10mm"}}' - - - name: Screenshot the test results webpage - uses: swinton/screenshot-website@v1.x - with: - source: http://localhost:8080/view.html - destination: ${{ github.ref_name }}_test_results.png - full-page: true - - name : Upload test results uses: actions/upload-artifact@v3 with: