-
Notifications
You must be signed in to change notification settings - Fork 203
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
Authenticate IBM Quantum account with GH actions to run unit tests #268
Authenticate IBM Quantum account with GH actions to run unit tests #268
Conversation
Hi, just wanted to let you know that you don’t need to worry about getting the lint + pre-commit passing. |
Thanks for letting me know. I was indeed worried about the linting. |
Hey @GenericP3rson, the latest GH workflow gives the following error,
Just wanted to make sure that we use the same keyword for the GH secret, which is `IBM_API_TOKEN'. Let me know if this is different and I will reflect those changes in the code. If this is not causing the error, I will brainstorm more. |
@GenericP3rson, Could you approve the workflow for the latest commit? Since the GH secret is sorted, I think this should work! |
Okay, the PS: I am using this API token from my IBM quantum platform. |
Hi, so sorry, I have not yet added the secret yet; I don’t have the permissions to add secrets to this repo at the moment but will get it added ASAP! While I’m getting that sorted, to fully complete the task, if you want to add a set of tests for some function (either as a separate PR or with this), that would be great! |
No problem! |
6667fa3
into
mit-han-lab:unitary-hack-ibmq-auth
Merging the PR, congrats! |
This PR builds a GH actions workflow that runs unit tests while authenticating the IBM Quantum account with the help of an
IBM_API_TOKEN
stored as a GH secret. It partially addresses #261.The changes aim to run the
tests/plugin/test_qiskit_plugins.py
file with GH actions.