xref: /freebsd/sys/contrib/openzfs/.github/workflows/README.md (revision fd45b686f9d92f583366c75b22c04c7ee49709c0)
12a58b312SMartin Matuska
22a58b312SMartin Matuska## The testings are done this way
32a58b312SMartin Matuska
42a58b312SMartin Matuska```mermaid
52a58b312SMartin Matuskaflowchart TB
62a58b312SMartin Matuskasubgraph CleanUp and Summary
7*fd45b686SMartin Matuska  CleanUp+Summary
82a58b312SMartin Matuskaend
92a58b312SMartin Matuska
102a58b312SMartin Matuskasubgraph Functional Testings
11*fd45b686SMartin Matuska  sanity-checks-20.04
12*fd45b686SMartin Matuska  zloop-checks-20.04
132a58b312SMartin Matuska  functional-testing-20.04-->Part1-20.04
142a58b312SMartin Matuska  functional-testing-20.04-->Part2-20.04
15*fd45b686SMartin Matuska  functional-testing-20.04-->Part3-20.04
16*fd45b686SMartin Matuska  functional-testing-20.04-->Part4-20.04
172a58b312SMartin Matuska  functional-testing-22.04-->Part1-22.04
182a58b312SMartin Matuska  functional-testing-22.04-->Part2-22.04
19*fd45b686SMartin Matuska  functional-testing-22.04-->Part3-22.04
20*fd45b686SMartin Matuska  functional-testing-22.04-->Part4-22.04
21*fd45b686SMartin Matuska  sanity-checks-22.04
22*fd45b686SMartin Matuska  zloop-checks-22.04
232a58b312SMartin Matuskaend
242a58b312SMartin Matuska
252a58b312SMartin Matuskasubgraph Code Checking + Building
26*fd45b686SMartin Matuska  Build-Ubuntu-20.04
272a58b312SMartin Matuska  codeql.yml
282a58b312SMartin Matuska  checkstyle.yml
29*fd45b686SMartin Matuska  Build-Ubuntu-22.04
302a58b312SMartin Matuskaend
31*fd45b686SMartin Matuska
32*fd45b686SMartin Matuska  Build-Ubuntu-20.04-->sanity-checks-20.04
33*fd45b686SMartin Matuska  Build-Ubuntu-20.04-->zloop-checks-20.04
34*fd45b686SMartin Matuska  Build-Ubuntu-20.04-->functional-testing-20.04
35*fd45b686SMartin Matuska  Build-Ubuntu-22.04-->sanity-checks-22.04
36*fd45b686SMartin Matuska  Build-Ubuntu-22.04-->zloop-checks-22.04
37*fd45b686SMartin Matuska  Build-Ubuntu-22.04-->functional-testing-22.04
38*fd45b686SMartin Matuska
39*fd45b686SMartin Matuska  sanity-checks-20.04-->CleanUp+Summary
40*fd45b686SMartin Matuska  Part1-20.04-->CleanUp+Summary
41*fd45b686SMartin Matuska  Part2-20.04-->CleanUp+Summary
42*fd45b686SMartin Matuska  Part3-20.04-->CleanUp+Summary
43*fd45b686SMartin Matuska  Part4-20.04-->CleanUp+Summary
44*fd45b686SMartin Matuska  Part1-22.04-->CleanUp+Summary
45*fd45b686SMartin Matuska  Part2-22.04-->CleanUp+Summary
46*fd45b686SMartin Matuska  Part3-22.04-->CleanUp+Summary
47*fd45b686SMartin Matuska  Part4-22.04-->CleanUp+Summary
48*fd45b686SMartin Matuska  sanity-checks-22.04-->CleanUp+Summary
492a58b312SMartin Matuska```
502a58b312SMartin Matuska
512a58b312SMartin Matuska
522a58b312SMartin Matuska1) build zfs modules for Ubuntu 20.04 and 22.04 (~15m)
532a58b312SMartin Matuska2) 2x zloop test (~10m) + 2x sanity test (~25m)
54*fd45b686SMartin Matuska3) 4x functional testings in parts 1..4 (each ~1h)
552a58b312SMartin Matuska4) cleanup and create summary
562a58b312SMartin Matuska   - content of summary depends on the results of the steps
572a58b312SMartin Matuska
582a58b312SMartin MatuskaWhen everything runs fine, the full run should be done in
592a58b312SMartin Matuskaabout 2 hours.
602a58b312SMartin Matuska
612a58b312SMartin MatuskaThe codeql.yml and checkstyle.yml are not part in this circle.
62