Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmark ci #312

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Benchmark ci #312

wants to merge 3 commits into from

Conversation

betta-cyber
Copy link

#262

I create a python program that when CI runs, It can runs HyperFine and uploads the results to Google Sheets

There are some intractable problem when I use google OAuth Credentials. The program need enter some token when i use it on terminal. So I choose Service Account as authorization. You can follow this doc to enable Google Sheets API and generate OAuth Credentials. Download json file.

And then. need add SHEETS_CLIENT_EMAIL and SHEETS_PRIVATE_KEY in github secrets.

image

You can change the sheet name in python program. I just upload the time result simply.

The most IMPORTANT things is to add your service_account_email to the share list.

image

I hope that will be helpful.

@bee-san
Copy link
Member

bee-san commented Apr 7, 2024

actually this is quite cool!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants