This repository was archived by the owner on Mar 24, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
52 lines (43 loc) · 1.5 KB
/
benchmark.yml
File metadata and controls
52 lines (43 loc) · 1.5 KB
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
42
43
44
45
46
47
48
49
50
51
52
name: Launch benchmarks and create report
permissions:
actions: write # Need write for workflow_dispatch event
contents: read
id-token: "write"
on:
workflow_dispatch:
jobs:
launch-benchmarks-and-make-report:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CIRCLE_TOKEN: ${{ secrets.CIRCLECI_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Setup Python 🔧
uses: actions/setup-python@v4.6.1
with:
python-version: 3.11.3
- name: Install dependencies
run: |
pip install -r requirements-poetry.txt
poetry install
- name: Dispatch workflows
run: poetry run dispatch-benchmark-workflows
- name: Create report
run: poetry run create-benchmark-report env
- name: Setup Google Auth 🔧
uses: "google-github-actions/auth@v1"
with:
# yamllint disable-line rule:line-length
workload_identity_provider: "projects/370784745717/locations/global/workloadIdentityPools/github/providers/github"
service_account: "github-actions@github-400420.iam.gserviceaccount.com"
- name: Upload benchmark file to GCP 🚀
uses: google-github-actions/upload-cloud-storage@v1.0.3
with:
path: ci_benchmark_tooling/benchmark_data.csv
destination: ci-benchmark
parent: false
process_gcloudignore: false
resumable: false
headers: |-
cache-control: no-cache