Commit 9555f41
committed
add an initial version of GitHub Actions testing
This is also adapting the code in some aspects to make it compatible
with older versions of Python and pygit2. Those adaptions are in
particular:
- Older versions of pygit2 didn't have enums FileMode and ObjectType. We
define the needed values if they are missing.
- Older versions of Python didn't provide default values for the
to_bytes function. We provide the values ourselves now.
- Older versions of pygit2 didn't convert object ids to strings
implicitly. We do this explicitly now wherever needed.
- Older versions of Python were less robust in parsing quotes nested in
f-string literals. Work around those constructs that found to be
problematic.
The Windows build is currently disabled since there is still an issue
with the remote helper that I need to debug.
Ubuntuo 20.04 on ARM is also disbled because the machine currently does
not seem to start up on GitHub.1 parent 4b0afa0 commit 9555f41
File tree
4 files changed
+129
-18
lines changed- .github/workflows
4 files changed
+129
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
| |||
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| 16 | + | |
| 17 | + | |
11 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
12 | 25 | | |
13 | 26 | | |
14 | 27 | | |
| |||
17 | 30 | | |
18 | 31 | | |
19 | 32 | | |
20 | | - | |
21 | | - | |
| 33 | + | |
22 | 34 | | |
23 | 35 | | |
24 | 36 | | |
25 | 37 | | |
26 | 38 | | |
27 | 39 | | |
28 | | - | |
| 40 | + | |
29 | 41 | | |
30 | 42 | | |
31 | 43 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 44 | + | |
35 | 45 | | |
| 46 | + | |
| 47 | + | |
36 | 48 | | |
37 | 49 | | |
38 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
38 | 59 | | |
39 | 60 | | |
40 | 61 | | |
| |||
275 | 296 | | |
276 | 297 | | |
277 | 298 | | |
278 | | - | |
279 | | - | |
| 299 | + | |
| 300 | + | |
280 | 301 | | |
281 | 302 | | |
282 | 303 | | |
| |||
304 | 325 | | |
305 | 326 | | |
306 | 327 | | |
307 | | - | |
| 328 | + | |
308 | 329 | | |
309 | | - | |
| 330 | + | |
310 | 331 | | |
311 | 332 | | |
312 | | - | |
| 333 | + | |
313 | 334 | | |
314 | 335 | | |
315 | 336 | | |
| |||
325 | 346 | | |
326 | 347 | | |
327 | 348 | | |
328 | | - | |
| 349 | + | |
329 | 350 | | |
330 | 351 | | |
331 | 352 | | |
| |||
379 | 400 | | |
380 | 401 | | |
381 | 402 | | |
382 | | - | |
| 403 | + | |
383 | 404 | | |
384 | | - | |
| 405 | + | |
385 | 406 | | |
386 | 407 | | |
387 | 408 | | |
| |||
393 | 414 | | |
394 | 415 | | |
395 | 416 | | |
396 | | - | |
397 | | - | |
| 417 | + | |
| 418 | + | |
398 | 419 | | |
399 | 420 | | |
400 | 421 | | |
| |||
0 commit comments