analogdevicesinc / ai8x-training

Model Training for ADI's MAX78000 and MAX78002 Edge AI Devices
Apache License 2.0
89 stars 80 forks source link

Add regression test trigger yaml #278

Closed asyatrhl closed 9 months ago

asyatrhl commented 9 months ago

When a pull request created to MaximIntegratedAI/ai8x-training repository, 'test.yml' is triggered and it sends a workflow dispatch to MaximIntegratedAI/ai8x-regression repository. This workflow dispatch includes a payload with repository, branch, pr number, and SHA number of pr created repository. And this dispatch triggers the 'regression_test.yml' in MaximIntegratedAI/ai8x-regression repository.

'secrets.REGRESSION_TEST' token should be defined in MaximIntegratedAI/ai8x-training repository, with repo and workflow permissions.

seldauyanik-maxim commented 9 months ago

@asyatrhl Below comments seem valuable, can be better to include in the commit message or be nice if added as a comment in the yaml file if yo ualso see fit

When a pull request created to MaximIntegratedAI/ai8x-training repository, 'test.yml' is triggered and it sends a workflow dispatch to MaximIntegratedAI/ai8x-regression repository. This workflow dispatch includes a payload with repository, branch, pr number, and SHA number of pr created repository. And this dispatch triggers the 'regression_test.yml' in MaximIntegratedAI/ai8x-regression repository.

'secrets.REGRESSION_TEST' token should be defined in MaximIntegratedAI/ai8x-training repository, with repo and workflow permissions.