Skip to content

Commit

Permalink
Update performance_test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir-P committed Aug 11, 2024
1 parent a3150a3 commit 6e417c2
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/performance_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 6e417c2

Please sign in to comment.