Commit 62f14e0
Modernize GitHub Actions workflows to match bigplanet
Updated both tests.yml and docs.yml to use modern GitHub Actions patterns following the bigplanet repository's recently updated workflows.
tests.yml changes:
- Updated to test only ubuntu-22.04 and Python 3.9 initially (will expand after tests pass)
- Removed conda dependency, now uses direct pip install
- Updated actions versions: checkout@v5, setup-python@v5
- Added pip caching for faster CI runs
- Removed shell: bash -l {0} requirements (not needed without conda)
- Added diagnostic test step to verify pytest works
- Added per-test timeout (300s) to prevent hanging tests
- Updated codecov action to v4 with token support
- Improved test result publishing with better naming
- Removed unnecessary "Get unique id" step
- Changed branch from [master, main] to just [main]
docs.yml changes:
- Updated actions/checkout to v5 (from v2)
- Updated conda-incubator/setup-miniconda to v3 (from v2)
- Updated github-pages-deploy-action to v4 (from 4.1.2)
- Changed branch from [master, main] to just [main]
- Removed commented pull_request section
These changes align with modern GitHub Actions best practices and match the patterns successfully used in the bigplanet repository. Once tests pass on ubuntu-22.04 + Python 3.9, we can expand the matrix to include additional OS and Python versions as documented in bigplanet.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent db43991 commit 62f14e0
2 files changed
Lines changed: 44 additions & 49 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | | - | |
| 12 | + | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
18 | | - | |
| 16 | + | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
41 | 39 | | |
42 | 40 | | |
43 | 41 | | |
44 | | - | |
| 42 | + | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 16 | + | |
| 17 | + | |
22 | 18 | | |
23 | 19 | | |
24 | | - | |
| 20 | + | |
25 | 21 | | |
26 | 22 | | |
27 | 23 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 24 | + | |
| 25 | + | |
31 | 26 | | |
32 | | - | |
33 | | - | |
34 | 27 | | |
| 28 | + | |
35 | 29 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 30 | + | |
40 | 31 | | |
| 32 | + | |
41 | 33 | | |
42 | 34 | | |
43 | 35 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 36 | | |
48 | 37 | | |
49 | 38 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
54 | 42 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 43 | + | |
| 44 | + | |
59 | 45 | | |
60 | | - | |
61 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
62 | 49 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
68 | 55 | | |
69 | | - | |
70 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
71 | 60 | | |
| 61 | + | |
72 | 62 | | |
73 | | - | |
74 | | - | |
75 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
0 commit comments