From 6e417c2e5c238ca8eabc0d6ac888f9b75e63f5a7 Mon Sep 17 00:00:00 2001 From: Amir Panahandeh Date: Sun, 11 Aug 2024 22:49:23 +0330 Subject: [PATCH] Update performance_test.yaml --- .github/workflows/performance_test.yaml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/performance_test.yaml b/.github/workflows/performance_test.yaml index 5cd23076..1d832d0b 100644 --- a/.github/workflows/performance_test.yaml +++ b/.github/workflows/performance_test.yaml @@ -3,7 +3,19 @@ name: Performance Test on: [push, pull_request, workflow_dispatch] jobs: - test: + test_master: + uses: ./.github/workflows/_run_performance_test.yaml + with: + branch: master + artifact_name: master_performance_timelines + + test_current: + uses: ./.github/workflows/_run_performance_test.yaml + with: + branch: ${{github.ref}} + artifact_name: current_ref_performance_timelines + + analyze: runs-on: ubuntu-latest steps: @@ -16,16 +28,6 @@ jobs: # Manually Update this `key` cache-key: "3.24.0" - - uses: ./.github/workflows/_run_performance_test.yaml - with: - branch: master - artifact_name: master_performance_timelines - - - uses: ./.github/workflows/_run_performance_test.yaml - with: - branch: ${{github.ref}} - artifact_name: current_ref_performance_timelines - - uses: actions/download-artifact@v4 with: name: master_performance_timelines