From a6a9a8729fc9eea1fc4eccde8b20140babb88f42 Mon Sep 17 00:00:00 2001 From: h1418 Date: Tue, 24 Dec 2024 20:38:00 +0700 Subject: [PATCH] Update e2e-performance.yml --- .github/workflows/e2e-performance.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e-performance.yml b/.github/workflows/e2e-performance.yml index c1fa3650070..0810872dc24 100644 --- a/.github/workflows/e2e-performance.yml +++ b/.github/workflows/e2e-performance.yml @@ -45,7 +45,10 @@ jobs: - name: Install dependencies ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป run: npm ci - + + - name: Upload report to S3 + run: aws s3 cp ${{ env.RESULTS_PATH }} s3://${{ secrets.AWS_BUCKET_PERFORMANCE_TESTS }}/${{ github.head_ref }}-${{ github.sha }}-${{ env.NOW }}.json + - name: E2E Performance Tests for Electron ๐Ÿงช run: ELECTRON_DISABLE_SANDBOX=1 xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- cd e2e && npm run test:performance @@ -65,8 +68,7 @@ jobs: aws-region: ${{ secrets.AWS_REGION_PERFORMANCE_TESTS_PUT_BUCKET }} mask-aws-account-id: true - - name: Upload report to S3 - run: aws s3 cp ${{ env.RESULTS_PATH }} s3://${{ secrets.AWS_BUCKET_PERFORMANCE_TESTS }}/${{ github.head_ref }}-${{ github.sha }}-${{ env.NOW }}.json + - name: Add results in PR comment uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1