Skip to content

Commit b2512e1

Browse files
authored
Merge pull request #476 from CCPBioSim/473-move-to-the-shared-ccpbiosim-workflows-release-090
Move to the shared CCPBioSim workflows release 0.12.0
2 parents f6f3a9b + 498b697 commit b2512e1

9 files changed

Lines changed: 23 additions & 63 deletions

‎.github/workflows/coveralls-main.yaml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616
jobs:
1717
coveralls:
1818
name: Build main coverage baseline
19-
uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0
19+
uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0
2020
permissions:
2121
contents: read
2222
checks: write
@@ -26,6 +26,4 @@ jobs:
2626
package: CodeEntropy
2727
test-path: tests/unit
2828
os: '["ubuntu-26.04"]'
29-
python-versions: '["3.15"]'
30-
coverage-python-version: "3.15"
3129
timeout-minutes: 30

‎.github/workflows/dependency-floors.yaml‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

‎.github/workflows/pr.yaml‎

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,15 @@ concurrency:
1313
jobs:
1414
unit:
1515
name: Unit
16-
uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0
16+
uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0
1717
permissions:
1818
contents: read
1919
checks: write
2020
statuses: write
2121
pull-requests: write
2222
with:
2323
package: CodeEntropy
24-
test-path: tests/unit
25-
os: '["ubuntu-24.04", "macos-26", "windows-2025-vs2026"]'
26-
coverage-python-version: "3.15"
27-
timeout-minutes: 25
28-
29-
lowest-dependencies:
30-
name: Lowest dependencies
31-
uses: CCPBioSim/.github/.github/workflows/ci-lowest-dependencies.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0
32-
permissions:
33-
contents: read
34-
with:
24+
lowest-dependencies-check: true
3525
test-path: tests/unit
3626
os: '["ubuntu-24.04", "macos-26", "windows-2025-vs2026"]'
3727
timeout-minutes: 25
@@ -107,19 +97,17 @@ jobs:
10797
docs:
10898
name: Docs
10999
needs: unit
110-
uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0
100+
uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0
111101
permissions:
112102
contents: read
113103
with:
114-
python-versions: '["3.15"]'
115104
timeout-minutes: 25
116105

117106
pre-commit:
118107
name: Pre-commit
119108
needs: unit
120-
uses: CCPBioSim/.github/.github/workflows/ci-pre-commit.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0
109+
uses: CCPBioSim/.github/.github/workflows/ci-pre-commit.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0
121110
permissions:
122111
contents: read
123112
with:
124-
python-version: "3.15"
125113
timeout-minutes: 15

‎.github/workflows/release.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permissions:
1818
jobs:
1919
prepare:
2020
name: Prepare
21-
uses: CCPBioSim/.github/.github/workflows/release-prepare.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0
21+
uses: CCPBioSim/.github/.github/workflows/release-prepare.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0
2222
permissions:
2323
contents: write
2424
pull-requests: write
@@ -40,7 +40,7 @@ jobs:
4040
website:
4141
name: Website
4242
needs: prepare
43-
uses: CCPBioSim/.github/.github/workflows/release-website.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0
43+
uses: CCPBioSim/.github/.github/workflows/release-website.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0
4444
permissions:
4545
contents: read
4646
with:
@@ -53,7 +53,7 @@ jobs:
5353
pypi:
5454
name: PyPI
5555
needs: prepare
56-
uses: CCPBioSim/.github/.github/workflows/release-pypi.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0
56+
uses: CCPBioSim/.github/.github/workflows/release-pypi.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0
5757
permissions:
5858
contents: read
5959
with:
@@ -65,7 +65,7 @@ jobs:
6565
conda:
6666
name: Conda
6767
needs: prepare
68-
uses: CCPBioSim/.github/.github/workflows/release-conda.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0
68+
uses: CCPBioSim/.github/.github/workflows/release-conda.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0
6969
permissions:
7070
contents: read
7171
with:

‎.github/workflows/update-copyright-years-in-license-file.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
update-license-year:
13-
uses: CCPBioSim/.github/.github/workflows/maintenance-license-year.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0
13+
uses: CCPBioSim/.github/.github/workflows/maintenance-license-year.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0
1414
permissions:
1515
contents: write
1616
pull-requests: write

‎.github/workflows/weekly-docs.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515
jobs:
1616
docs:
1717
name: Docs build
18-
uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0
18+
uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0
1919
permissions:
2020
contents: read
2121
with:
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
1-
name: Daily Unit Tests
1+
name: Weekly Unit Tests
22

33
on:
44
schedule:
5-
- cron: '0 8 * * 1-5'
5+
- cron: '0 8 * * 1'
66
workflow_dispatch:
77

88
permissions:
99
contents: read
1010

1111
concurrency:
12-
group: daily-${{ github.ref }}
12+
group: weekly-tests-${{ github.ref }}
1313
cancel-in-progress: true
1414

1515
jobs:
1616
unit:
1717
name: Unit
18-
uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0
18+
uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0
1919
permissions:
2020
contents: read
2121
checks: write
2222
statuses: write
2323
pull-requests: write
2424
with:
2525
package: CodeEntropy
26+
lowest-dependencies-check: true
2627
test-path: tests/unit
2728
os: '["ubuntu-24.04", "macos-26", "windows-2025-vs2026"]'
2829
coverage: false

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CodeEntropy
33

44
| Category | Badges |
55
|----------------|--------|
6-
| **Build** | [![PR Checks](https://github.com/CCPBioSim/CodeEntropy/actions/workflows/pr.yaml/badge.svg)](https://github.com/CCPBioSim/CodeEntropy/actions/workflows/pr.yaml) [![Daily Tests](https://github.com/CCPBioSim/CodeEntropy/actions/workflows/daily.yaml/badge.svg)](https://github.com/CCPBioSim/CodeEntropy/actions/workflows/daily.yaml) [![Dependency Floors](https://github.com/CCPBioSim/CodeEntropy/actions/workflows/dependency-floors.yaml/badge.svg)](https://github.com/CCPBioSim/CodeEntropy/actions/workflows/dependency-floors.yaml) |
6+
| **Build** | [![PR Checks](https://github.com/CCPBioSim/CodeEntropy/actions/workflows/pr.yaml/badge.svg)](https://github.com/CCPBioSim/CodeEntropy/actions/workflows/pr.yaml) [![Weekly Tests](https://github.com/CCPBioSim/CodeEntropy/actions/workflows/weekly-tests.yaml/badge.svg)](https://github.com/CCPBioSim/CodeEntropy/actions/workflows/weekly-tests.yaml) |
77
| **Regression** | [![Weekly Regression](https://github.com/CCPBioSim/CodeEntropy/actions/workflows/weekly-regression.yaml/badge.svg)](https://github.com/CCPBioSim/CodeEntropy/actions/workflows/weekly-regression.yaml) |
88
| **Documentation** | [![Weekly Docs](https://github.com/CCPBioSim/CodeEntropy/actions/workflows/weekly-docs.yaml/badge.svg)](https://github.com/CCPBioSim/CodeEntropy/actions/workflows/weekly-docs.yaml) [![Docs - Status](https://app.readthedocs.org/projects/codeentropy/badge/?version=latest)](https://codeentropy.readthedocs.io/en/latest/?badge=latest) |
99
| **Citation** | [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.17570721.svg)](https://doi.org/10.5281/zenodo.17570721) |

‎docs/developer_guide.rst‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,12 @@ Pull Request checks include:
159159
- Documentation build
160160
- Pre-commit validation
161161

162-
Daily workflow:
163-
164-
- Runs automated test validation
165-
166162
Weekly workflows:
167163

164+
- Unit tests on Linux, macOS, and Windows, including the dependency floor checks
165+
(see :ref:`dependency-policy`)
168166
- Full regression suite including slow tests
169167
- Documentation build across all Python versions
170-
- Dependency floor checks (see :ref:`dependency-policy`)
171168

172169
CI also caches regression datasets to improve performance.
173170

@@ -181,10 +178,10 @@ bound (floor) is the oldest release CodeEntropy is known to work with, so that i
181178
stays installable alongside other scientific packages. Floors are only raised
182179
when the code needs a newer release. Upper bounds are widened by Renovate.
183180

184-
The ``lowest-dependencies`` job in the pull request workflow and the weekly
185-
``dependency-floors.yaml`` workflow check this. They check that the lowest
186-
allowed versions resolve to installable wheels on each platform and Python
187-
version, and that the unit tests pass with them installed.
181+
The unit jobs in the pull request and weekly workflows check this. After the
182+
normal tests, each job reinstalls the lowest allowed versions of the direct
183+
dependencies and runs the unit tests again, which checks that they resolve to
184+
installable wheels on each platform and Python version and that the tests pass.
188185

189186
Run the same checks locally with `uv <https://docs.astral.sh/uv/>`_::
190187

0 commit comments

Comments
 (0)