forked from emdgroup/baybe
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (36 loc) · 985 Bytes
/
manual_benchmark.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
30
31
32
33
34
35
36
37
38
39
40
41
name: Manuell Benchmark
on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
id-token: write
jobs:
add-runner:
uses: ./.github/workflows/runner_attach_workflow.yml
with:
RunnerCount: 1
RunnerComputeType: "M"
secrets:
GitHubToken: ${{ secrets.RUNNER_ATTACH_API_KEY }}
AWSRoleToAssume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
benchmark-test:
needs: add-runner
runs-on: self-hosted
env:
BAYBE_PERFORMANCE_PERSISTANCE_PATH: ${{ secrets.TEST_RESULT_S3_BUCKET }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
id: setup-python
with:
python-version: '3.10'
- name: Benchmark
run: |
pip install '.[dev]'
pip install boto3==1.18.63
python test.py