Run Benchmark #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |