-
Notifications
You must be signed in to change notification settings - Fork 162
29 lines (26 loc) · 1.11 KB
/
bench_pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Benchmarks (PR)
on:
pull_request_target:
types: [ labeled, opened, reopened, synchronize ]
permissions:
id-token: write
contents: read
jobs:
integration:
name: Benchmarks
uses: ./.github/workflows/bench.yml
if: ${{ contains(github.event.pull_request.labels.*.name, 'performance') }}
with:
environment: PR benchmarks
ref: ${{ github.event.pull_request.head.sha }}
# store results with prefix defined by PR id (github.event.number)
s3_bench_results_prefix: ${{ github.event_name == 'pull_request_target' && format('results/{0}/s3_standard', github.event.number) || null }}
s3express-integration:
name: Benchmarks (s3express)
uses: ./.github/workflows/bench_s3express.yml
if: ${{ contains(github.event.pull_request.labels.*.name, 'performance') }}
with:
environment: PR benchmarks
ref: ${{ github.event.pull_request.head.sha }}
# store results with prefix defined by PR id (github.event.number)
s3_bench_results_prefix: ${{ github.event_name == 'pull_request_target' && format('results/{0}/s3_express', github.event.number) || null }}