Commit e7fa53f
committed
bug #1193 [CI] Fix bridge test matrix include creating jobs without bridge info (OskarStark)
This PR was merged into the main branch.
Discussion
----------
[CI] Fix bridge test matrix include creating jobs without bridge info
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| Docs? | no
| Issues | --
| License | MIT
The `include` directive in GitHub Actions matrix adds separate combinations rather than multiplying with existing matrix values. This caused jobs to be created with only php-version and dependency-version set, but no bridge object, resulting in "Unable to find working directory at 'src/src/Bridge/'" errors.
Fix by generating full include arrays in build-matrix.yaml with the bridge info nested under a 'bridge' key. Each bridge now gets tested with:
- PHP 8.2 lowest
- PHP 8.2 highest
- PHP 8.5 highest
# error
<img width="1084" height="176" alt="CleanShot 2025-12-18 at 11 59 55@2x" src="https://github.com/user-attachments/assets/fbe4e9a5-607f-448b-836e-26e48ccb67f1" />
<img width="1872" height="1340" alt="CleanShot 2025-12-18 at 12 00 18@2x" src="https://github.com/user-attachments/assets/d3d082ff-5efb-4857-bb62-dc10591b4ab5" />
Commits
-------
ce76a54 [CI] Fix bridge test matrix include creating jobs without bridge info2 files changed
+40
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
24 | 33 | | |
25 | 34 | | |
26 | 35 | | |
| |||
31 | 40 | | |
32 | 41 | | |
33 | 42 | | |
| 43 | + | |
34 | 44 | | |
| 45 | + | |
35 | 46 | | |
| 47 | + | |
36 | 48 | | |
37 | 49 | | |
38 | 50 | | |
| |||
76 | 88 | | |
77 | 89 | | |
78 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
79 | 116 | | |
80 | 117 | | |
81 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
| 79 | + | |
85 | 80 | | |
86 | 81 | | |
87 | 82 | | |
| |||
115 | 110 | | |
116 | 111 | | |
117 | 112 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 113 | + | |
124 | 114 | | |
125 | 115 | | |
126 | 116 | | |
| |||
154 | 144 | | |
155 | 145 | | |
156 | 146 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 147 | + | |
163 | 148 | | |
164 | 149 | | |
165 | 150 | | |
| |||
0 commit comments