You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b209e51
Browse filesBrowse the repository at this point in the historyBrowse files
- the command that decides whether the check passes
24
+
25
+
## 3. Prove green
26
+
27
+
Open the Actions tab or the commit checks. Confirm the tests pass.
28
+
29
+
## 4. Break it deliberately
30
+
31
+
Change `add(2, 3)` in the test expectation so the test is wrong, commit, and push.
32
+
33
+
Predict the result before checking GitHub.
34
+
35
+
Confirm the workflow fails and inspect the failing test output.
36
+
37
+
## 5. Repair
38
+
39
+
Fix the test, commit, push, and verify the workflow returns to green.
40
+
41
+
## Pass condition
42
+
43
+
You can explain why CI is useful, what caused the red check, and why a green check only proves the checks that actually ran—not all possible correctness.
0 commit comments