CI: Stick with ubuntu-22.04 for CodeQL analysis
[zfs.git] / .github / workflows / README.md
blobeef47dae3dc772d0f5e84b93441710db02ba7814
2 ## The testings are done this way
4 ```mermaid
5 flowchart TB
6 subgraph CleanUp and Summary
7   CleanUp+Summary
8 end
10 subgraph 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
23 end
25 subgraph Code Checking + Building
26   Build-Ubuntu-20.04
27   codeql.yml
28   checkstyle.yml
29   Build-Ubuntu-22.04
30 end
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
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 ```
52 1) build zfs modules for Ubuntu 20.04 and 22.04 (~15m)
53 2) 2x zloop test (~10m) + 2x sanity test (~25m)
54 3) 4x functional testings in parts 1..4 (each ~1h)
55 4) cleanup and create summary
56    - content of summary depends on the results of the steps
58 When everything runs fine, the full run should be done in
59 about 2 hours.
61 The codeql.yml and checkstyle.yml are not part in this circle.