-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
Description
What is the expected behavior?
Create an Action who enable project to run their own test inside their own Actions tab and to make their submission directly in their own repo as well.
Tech needs
essentials :
- Having a composite action who can be call using (from any project) :
- name: Add into Ecosystem
uses: qiskit-community/ecosystem-actions
with:
project_name: "My super project"
test_cmd: tox -epy39
std_test: true
stb_test: true
dev_test: true
submit_to_ecosystem: true
...- First part of the composite action should be able to :
- Run given test so call standard tests
- Run given test with latest qiskit version
- Run given test with dev qiskit version
- Give readable logs
- Another part of this composite action should be able to send info about the project as well as test result to us. Some solutions possible :
- Automatically create issue in Ecosystem repo (as today but probably the best way to do it and to keep clean history)
- Launch Actions in Ecosystem repo (permission problem for external people)
- Deploy the composite action into GitHub marketplace
- On the Ecosystem repo we will need to create a new wf for update project info from data getting form external to do that we can use the same solution of the previous question (issue to be the best as well).
- Documentations :
- Actions step to copy and paste
- Full Actions pipeline file to copy and paste
(optional) :
- Having a docker image creating the perfect qiskit env to run checks inside and to make the actions faster
Why
- Allow people to test their project whenever they want/need
- Help people submit their project into Ecosystem
- We wont force people to have tox or anything special to run their tests
- We wont clone project and host actions processes
This would also allow us to keep the actual behaviour with the new one.
Today I don't know how to make all the actual projects migrate from actual process to this new one.
frankharkins