public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* generating the test matrix for local CI runs
@ 2021-03-04 17:04 Laszlo Ersek
  2021-03-04 17:45 ` [edk2-devel] " Rebecca Cran
  0 siblings, 1 reply; 7+ messages in thread
From: Laszlo Ersek @ 2021-03-04 17:04 UTC (permalink / raw)
  To: edk2-devel-groups-io; +Cc: Sean Brogan, Bret Barkelew, Michael Kinney

(Sigh, my address book pulled one over me -- resending to the correct
list address now. Please ignore the previous posting that you may have
gotten "in private".)

Hi All,

while I can run specific CI tests locally, using the commands listed at:

https://github.com/tianocore/edk2/tree/master/.pytool
https://github.com/tianocore/edk2/tree/master/ArmVirtPkg/PlatformCI
https://github.com/tianocore/edk2/tree/master/OvmfPkg/PlatformCI

I don't know how I can determine and drive the whole "test plan" locally.

When I submit a PR to github, "something" generates (say) 83 test cases.
How can I run that "something" locally?

Assume I have the following:
- a Linux builder VM, with up-to-date tools,
- a Windows builder VM, with up-to-date tools,
- a topic branch, on top of "master".

How do I generate and run those same 83 tests, locally?

It has happened to me that all my local CI steps succeeded (meaning both
the Windows and the Linux builder), but github still rejected the PR --
the reason was that I failed to think of a particular test that github
would run. Composing 83 "stuart" command lines isn't something I'd like
to do manually.

Thanks
Laszlo


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-03-04 19:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-04 17:04 generating the test matrix for local CI runs Laszlo Ersek
2021-03-04 17:45 ` [edk2-devel] " Rebecca Cran
2021-03-04 17:56   ` [EXTERNAL] " Bret Barkelew
2021-03-04 18:20     ` Bret Barkelew
2021-03-04 18:32       ` Bret Barkelew
2021-03-04 19:07         ` Laszlo Ersek
2021-03-04 18:45       ` Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox