-
Notifications
You must be signed in to change notification settings - Fork 2
71 lines (55 loc) · 1.58 KB
/
ci_exp.yml
File metadata and controls
71 lines (55 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: CI Experiment
on:
pull_request:
push:
branches:
- main
- master
jobs:
job1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Large Hallucinating Step
run: |
echo "Starting massive hallucination output..."
for i in {1..200}; do
echo "ERROR $i: cosmic radiation error"
done
echo "This step always passes."
- name: Intentional Failure
run: |
echo "Simulated failure: checkcommit violation"
echo "ERROR: checkcommit failed: No capital letter after prefix."
exit 1
- name: Post Failure Step
if: always()
run: |
echo "This runs even after failure"
echo "Testing log parsing behavior"
job2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Another Hallucination Step
run: |
for i in {1..150}; do
echo "Random CI noise line $i: generating misleading stack traces and fake warnings..."
done
- name: Python Setup
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Fake Python Error
run: |
echo "Traceback (most recent call last):"
echo " File \"test.py\", line 10, in <module>"
echo "ValueError: Something went terribly wrong"
exit 1
job3:
runs-on: ubuntu-latest
steps:
- name: Successful Job
run: |
echo "This job succeeds"
echo "Used to verify that only failed jobs are parsed"