-
Notifications
You must be signed in to change notification settings - Fork 21
30 lines (24 loc) · 861 Bytes
/
benchmark.yml
File metadata and controls
30 lines (24 loc) · 861 Bytes
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
30
on:
- workflow_dispatch
name: Benchmark
jobs:
benchmark:
name: Benchmark
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
- name: Run benchmark
run: ./gradlew clean benchmark
env:
CTP_CLIENT_ID: ${{ secrets.CTP_CLIENT_ID_PR }}
CTP_CLIENT_SECRET: ${{ secrets.CTP_CLIENT_SECRET_PR }}
CTP_PROJECT_KEY: ${{ secrets.CTP_PROJECT_KEY_PR }}
CTP_JVM_SDK_LOG_LEVEL: OFF
- name: Output results
run: cat commercetools/commercetools-sdk-compat-v1/build/results/jmh/results.txt