From dbd36e0a74a613c71b576f5b1816ff7e6f8048d5 Mon Sep 17 00:00:00 2001 From: Michelangelo Riccobene Date: Fri, 10 Jan 2025 14:06:52 +0100 Subject: [PATCH] qa-tests: upload metrics based plots generated in the tip-tracking test (#13194) Upload plots created during test --- .github/workflows/qa-tip-tracking-polygon.yml | 18 +++++++++++++++--- .github/workflows/qa-tip-tracking.yml | 18 +++++++++++++++--- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/.github/workflows/qa-tip-tracking-polygon.yml b/.github/workflows/qa-tip-tracking-polygon.yml index 0fc9d9f4a18..dbb1bb95514 100644 --- a/.github/workflows/qa-tip-tracking-polygon.yml +++ b/.github/workflows/qa-tip-tracking-polygon.yml @@ -97,9 +97,21 @@ jobs: uses: actions/upload-artifact@v4 with: name: test-results - path: | - ${{ github.workspace }}/result-${{ env.CHAIN }}.json - ${{ env.ERIGON_TESTBED_DATA_DIR }}/logs/erigon.log + path: ${{ github.workspace }}/result-${{ env.CHAIN }}.json + + - name: Upload erigon log + if: steps.test_step.outputs.test_executed == 'true' + uses: actions/upload-artifact@v4 + with: + name: erigon-log + path: ${{ env.ERIGON_TESTBED_DATA_DIR }}/logs/erigon.log + + - name: Upload metric plots + if: steps.test_step.outputs.test_executed == 'true' + uses: actions/upload-artifact@v4 + with: + name: metric-plots + path: ${{ github.workspace }}/metrics-${{ env.CHAIN }}-plots* - name: Delete Erigon Testbed Data Directory if: always() diff --git a/.github/workflows/qa-tip-tracking.yml b/.github/workflows/qa-tip-tracking.yml index aba0c4a5026..3e338cf5603 100644 --- a/.github/workflows/qa-tip-tracking.yml +++ b/.github/workflows/qa-tip-tracking.yml @@ -97,9 +97,21 @@ jobs: uses: actions/upload-artifact@v4 with: name: test-results - path: | - ${{ github.workspace }}/result-${{ env.CHAIN }}.json - ${{ env.ERIGON_TESTBED_DATA_DIR }}/logs/erigon.log + path: ${{ github.workspace }}/result-${{ env.CHAIN }}.json + + - name: Upload erigon log + if: steps.test_step.outputs.test_executed == 'true' + uses: actions/upload-artifact@v4 + with: + name: erigon-log + path: ${{ env.ERIGON_TESTBED_DATA_DIR }}/logs/erigon.log + + - name: Upload metric plots + if: steps.test_step.outputs.test_executed == 'true' + uses: actions/upload-artifact@v4 + with: + name: metric-plots + path: ${{ github.workspace }}/metrics-${{ env.CHAIN }}-plots* - name: Delete Erigon Testbed Data Directory if: always()