xref: /freebsd/sys/contrib/openzfs/.github/workflows/README.md (revision a91a246563dffa876a52f53a98de4af9fa364c52)
1
2## The testings are done this way
3
4```mermaid
5flowchart TB
6subgraph CleanUp and Summary
7  CleanUp+Summary
8end
9
10subgraph Functional Testings
11  sanity-checks-20.04
12  zloop-checks-20.04
13  functional-testing-20.04-->Part1-20.04
14  functional-testing-20.04-->Part2-20.04
15  functional-testing-20.04-->Part3-20.04
16  functional-testing-20.04-->Part4-20.04
17  functional-testing-22.04-->Part1-22.04
18  functional-testing-22.04-->Part2-22.04
19  functional-testing-22.04-->Part3-22.04
20  functional-testing-22.04-->Part4-22.04
21  sanity-checks-22.04
22  zloop-checks-22.04
23end
24
25subgraph Code Checking + Building
26  Build-Ubuntu-20.04
27  codeql.yml
28  checkstyle.yml
29  Build-Ubuntu-22.04
30end
31
32  Build-Ubuntu-20.04-->sanity-checks-20.04
33  Build-Ubuntu-20.04-->zloop-checks-20.04
34  Build-Ubuntu-20.04-->functional-testing-20.04
35  Build-Ubuntu-22.04-->sanity-checks-22.04
36  Build-Ubuntu-22.04-->zloop-checks-22.04
37  Build-Ubuntu-22.04-->functional-testing-22.04
38
39  sanity-checks-20.04-->CleanUp+Summary
40  Part1-20.04-->CleanUp+Summary
41  Part2-20.04-->CleanUp+Summary
42  Part3-20.04-->CleanUp+Summary
43  Part4-20.04-->CleanUp+Summary
44  Part1-22.04-->CleanUp+Summary
45  Part2-22.04-->CleanUp+Summary
46  Part3-22.04-->CleanUp+Summary
47  Part4-22.04-->CleanUp+Summary
48  sanity-checks-22.04-->CleanUp+Summary
49```
50
51
521) build zfs modules for Ubuntu 20.04 and 22.04 (~15m)
532) 2x zloop test (~10m) + 2x sanity test (~25m)
543) 4x functional testings in parts 1..4 (each ~1h)
554) cleanup and create summary
56   - content of summary depends on the results of the steps
57
58When everything runs fine, the full run should be done in
59about 2 hours.
60
61The codeql.yml and checkstyle.yml are not part in this circle.
62