From d3e9f4fa6a4dc6c348b3c08446477bbbd7a1e666 Mon Sep 17 00:00:00 2001 From: harryswift01 Date: Thu, 22 Oct 2026 15:23:31 +0100 Subject: [PATCH 1/5] chore(ci): move the shared workflows to release 0.9.0 --- .github/workflows/coveralls-main.yaml | 4 +--- .github/workflows/daily.yaml | 2 +- .github/workflows/dependency-floors.yaml | 7 ++++++- .github/workflows/pr.yaml | 16 +++++++++------- .github/workflows/release.yaml | 8 ++++---- .../update-copyright-years-in-license-file.yaml | 2 +- .github/workflows/weekly-docs.yaml | 2 +- 7 files changed, 23 insertions(+), 18 deletions(-) diff --git a/.github/workflows/coveralls-main.yaml b/.github/workflows/coveralls-main.yaml index e3317d6f..37042f0c 100644 --- a/.github/workflows/coveralls-main.yaml +++ b/.github/workflows/coveralls-main.yaml @@ -16,7 +16,7 @@ concurrency: jobs: coveralls: name: Build main coverage baseline - uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0 + uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 permissions: contents: read checks: write @@ -26,6 +26,4 @@ jobs: package: CodeEntropy test-path: tests/unit os: '["ubuntu-26.04"]' - python-versions: '["3.15"]' - coverage-python-version: "3.15" timeout-minutes: 30 diff --git a/.github/workflows/daily.yaml b/.github/workflows/daily.yaml index e319e712..5bd98026 100644 --- a/.github/workflows/daily.yaml +++ b/.github/workflows/daily.yaml @@ -15,7 +15,7 @@ concurrency: jobs: unit: name: Unit - uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0 + uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 permissions: contents: read checks: write diff --git a/.github/workflows/dependency-floors.yaml b/.github/workflows/dependency-floors.yaml index 5d578e4c..d0867089 100644 --- a/.github/workflows/dependency-floors.yaml +++ b/.github/workflows/dependency-floors.yaml @@ -15,10 +15,15 @@ concurrency: jobs: lowest: name: Lowest dependencies - uses: CCPBioSim/.github/.github/workflows/ci-lowest-dependencies.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0 + uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 permissions: contents: read + checks: write + statuses: write + pull-requests: write with: + package: CodeEntropy + lowest-dependencies: true test-path: tests/unit os: '["ubuntu-26.04", "macos-26", "windows-2025-vs2026"]' timeout-minutes: 30 diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index eaaace5d..85795947 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -13,7 +13,7 @@ concurrency: jobs: unit: name: Unit - uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0 + uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 permissions: contents: read checks: write @@ -23,15 +23,19 @@ jobs: package: CodeEntropy test-path: tests/unit os: '["ubuntu-24.04", "macos-26", "windows-2025-vs2026"]' - coverage-python-version: "3.15" timeout-minutes: 25 lowest-dependencies: name: Lowest dependencies - uses: CCPBioSim/.github/.github/workflows/ci-lowest-dependencies.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0 + uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 permissions: contents: read + checks: write + statuses: write + pull-requests: write with: + package: CodeEntropy + lowest-dependencies: true test-path: tests/unit os: '["ubuntu-24.04", "macos-26", "windows-2025-vs2026"]' timeout-minutes: 25 @@ -107,19 +111,17 @@ jobs: docs: name: Docs needs: unit - uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0 + uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 permissions: contents: read with: - python-versions: '["3.15"]' timeout-minutes: 25 pre-commit: name: Pre-commit needs: unit - uses: CCPBioSim/.github/.github/workflows/ci-pre-commit.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0 + uses: CCPBioSim/.github/.github/workflows/ci-pre-commit.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 permissions: contents: read with: - python-version: "3.15" timeout-minutes: 15 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6f108022..116a8dcb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,7 +18,7 @@ permissions: jobs: prepare: name: Prepare - uses: CCPBioSim/.github/.github/workflows/release-prepare.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0 + uses: CCPBioSim/.github/.github/workflows/release-prepare.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 permissions: contents: write pull-requests: write @@ -40,7 +40,7 @@ jobs: website: name: Website needs: prepare - uses: CCPBioSim/.github/.github/workflows/release-website.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0 + uses: CCPBioSim/.github/.github/workflows/release-website.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 permissions: contents: read with: @@ -53,7 +53,7 @@ jobs: pypi: name: PyPI needs: prepare - uses: CCPBioSim/.github/.github/workflows/release-pypi.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0 + uses: CCPBioSim/.github/.github/workflows/release-pypi.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 permissions: contents: read with: @@ -65,7 +65,7 @@ jobs: conda: name: Conda needs: prepare - uses: CCPBioSim/.github/.github/workflows/release-conda.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0 + uses: CCPBioSim/.github/.github/workflows/release-conda.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 permissions: contents: read with: diff --git a/.github/workflows/update-copyright-years-in-license-file.yaml b/.github/workflows/update-copyright-years-in-license-file.yaml index 54677d54..c799ff71 100644 --- a/.github/workflows/update-copyright-years-in-license-file.yaml +++ b/.github/workflows/update-copyright-years-in-license-file.yaml @@ -10,7 +10,7 @@ permissions: jobs: update-license-year: - uses: CCPBioSim/.github/.github/workflows/maintenance-license-year.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0 + uses: CCPBioSim/.github/.github/workflows/maintenance-license-year.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 permissions: contents: write pull-requests: write diff --git a/.github/workflows/weekly-docs.yaml b/.github/workflows/weekly-docs.yaml index 32daa71f..d270584b 100644 --- a/.github/workflows/weekly-docs.yaml +++ b/.github/workflows/weekly-docs.yaml @@ -15,7 +15,7 @@ concurrency: jobs: docs: name: Docs build - uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@116d539cf0864af72d33dce047313ca6fc624ccd # 0.4.0 + uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 permissions: contents: read with: From d3a6ebf09250778adc4532d55c5c4debfcfa3b37 Mon Sep 17 00:00:00 2001 From: harryswift01 Date: Fri, 23 Oct 2026 14:34:41 +0100 Subject: [PATCH 2/5] chore(ci): move the shared workflows to release 0.10.0 --- .github/workflows/coveralls-main.yaml | 2 +- .github/workflows/daily.yaml | 2 +- .github/workflows/dependency-floors.yaml | 2 +- .github/workflows/pr.yaml | 22 ++++--------------- .github/workflows/release.yaml | 8 +++---- ...pdate-copyright-years-in-license-file.yaml | 2 +- .github/workflows/weekly-docs.yaml | 2 +- 7 files changed, 13 insertions(+), 27 deletions(-) diff --git a/.github/workflows/coveralls-main.yaml b/.github/workflows/coveralls-main.yaml index 37042f0c..7fda2921 100644 --- a/.github/workflows/coveralls-main.yaml +++ b/.github/workflows/coveralls-main.yaml @@ -16,7 +16,7 @@ concurrency: jobs: coveralls: name: Build main coverage baseline - uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 + uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 permissions: contents: read checks: write diff --git a/.github/workflows/daily.yaml b/.github/workflows/daily.yaml index 5bd98026..a8a9a638 100644 --- a/.github/workflows/daily.yaml +++ b/.github/workflows/daily.yaml @@ -15,7 +15,7 @@ concurrency: jobs: unit: name: Unit - uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 + uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 permissions: contents: read checks: write diff --git a/.github/workflows/dependency-floors.yaml b/.github/workflows/dependency-floors.yaml index d0867089..c6af5fd8 100644 --- a/.github/workflows/dependency-floors.yaml +++ b/.github/workflows/dependency-floors.yaml @@ -15,7 +15,7 @@ concurrency: jobs: lowest: name: Lowest dependencies - uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 + uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 permissions: contents: read checks: write diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 85795947..9a5f979c 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -13,7 +13,7 @@ concurrency: jobs: unit: name: Unit - uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 + uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 permissions: contents: read checks: write @@ -21,21 +21,7 @@ jobs: pull-requests: write with: package: CodeEntropy - test-path: tests/unit - os: '["ubuntu-24.04", "macos-26", "windows-2025-vs2026"]' - timeout-minutes: 25 - - lowest-dependencies: - name: Lowest dependencies - uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 - permissions: - contents: read - checks: write - statuses: write - pull-requests: write - with: - package: CodeEntropy - lowest-dependencies: true + lowest-dependencies-leg: true test-path: tests/unit os: '["ubuntu-24.04", "macos-26", "windows-2025-vs2026"]' timeout-minutes: 25 @@ -111,7 +97,7 @@ jobs: docs: name: Docs needs: unit - uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 + uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 permissions: contents: read with: @@ -120,7 +106,7 @@ jobs: pre-commit: name: Pre-commit needs: unit - uses: CCPBioSim/.github/.github/workflows/ci-pre-commit.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 + uses: CCPBioSim/.github/.github/workflows/ci-pre-commit.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 permissions: contents: read with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 116a8dcb..ce2aa6b7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,7 +18,7 @@ permissions: jobs: prepare: name: Prepare - uses: CCPBioSim/.github/.github/workflows/release-prepare.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 + uses: CCPBioSim/.github/.github/workflows/release-prepare.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 permissions: contents: write pull-requests: write @@ -40,7 +40,7 @@ jobs: website: name: Website needs: prepare - uses: CCPBioSim/.github/.github/workflows/release-website.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 + uses: CCPBioSim/.github/.github/workflows/release-website.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 permissions: contents: read with: @@ -53,7 +53,7 @@ jobs: pypi: name: PyPI needs: prepare - uses: CCPBioSim/.github/.github/workflows/release-pypi.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 + uses: CCPBioSim/.github/.github/workflows/release-pypi.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 permissions: contents: read with: @@ -65,7 +65,7 @@ jobs: conda: name: Conda needs: prepare - uses: CCPBioSim/.github/.github/workflows/release-conda.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 + uses: CCPBioSim/.github/.github/workflows/release-conda.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 permissions: contents: read with: diff --git a/.github/workflows/update-copyright-years-in-license-file.yaml b/.github/workflows/update-copyright-years-in-license-file.yaml index c799ff71..95f1482c 100644 --- a/.github/workflows/update-copyright-years-in-license-file.yaml +++ b/.github/workflows/update-copyright-years-in-license-file.yaml @@ -10,7 +10,7 @@ permissions: jobs: update-license-year: - uses: CCPBioSim/.github/.github/workflows/maintenance-license-year.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 + uses: CCPBioSim/.github/.github/workflows/maintenance-license-year.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 permissions: contents: write pull-requests: write diff --git a/.github/workflows/weekly-docs.yaml b/.github/workflows/weekly-docs.yaml index d270584b..81b64f6a 100644 --- a/.github/workflows/weekly-docs.yaml +++ b/.github/workflows/weekly-docs.yaml @@ -15,7 +15,7 @@ concurrency: jobs: docs: name: Docs build - uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@9f4315e6f907ce6606ec2346848272d423c62acf # 0.9.0 + uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 permissions: contents: read with: From 77dc7ad1f962912030c13a9c8901df0900c0fcba Mon Sep 17 00:00:00 2001 From: harryswift01 Date: Fri, 23 Oct 2026 14:59:26 +0100 Subject: [PATCH 3/5] chore(ci): run the unit tests weekly with the lowest-dependencies check --- .github/workflows/coveralls-main.yaml | 2 +- .github/workflows/dependency-floors.yaml | 29 ------------------- .github/workflows/pr.yaml | 8 ++--- .github/workflows/release.yaml | 8 ++--- ...pdate-copyright-years-in-license-file.yaml | 2 +- .github/workflows/weekly-docs.yaml | 2 +- .../{daily.yaml => weekly-tests.yaml} | 9 +++--- README.md | 2 +- docs/developer_guide.rst | 15 ++++------ 9 files changed, 23 insertions(+), 54 deletions(-) delete mode 100644 .github/workflows/dependency-floors.yaml rename .github/workflows/{daily.yaml => weekly-tests.yaml} (73%) diff --git a/.github/workflows/coveralls-main.yaml b/.github/workflows/coveralls-main.yaml index 7fda2921..f30f14c4 100644 --- a/.github/workflows/coveralls-main.yaml +++ b/.github/workflows/coveralls-main.yaml @@ -16,7 +16,7 @@ concurrency: jobs: coveralls: name: Build main coverage baseline - uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 + uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 permissions: contents: read checks: write diff --git a/.github/workflows/dependency-floors.yaml b/.github/workflows/dependency-floors.yaml deleted file mode 100644 index c6af5fd8..00000000 --- a/.github/workflows/dependency-floors.yaml +++ /dev/null @@ -1,29 +0,0 @@ -name: Dependency Floors - -on: - schedule: - - cron: '0 8 * * 1' - workflow_dispatch: - -permissions: - contents: read - -concurrency: - group: dependency-floors-${{ github.ref }} - cancel-in-progress: true - -jobs: - lowest: - name: Lowest dependencies - uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 - permissions: - contents: read - checks: write - statuses: write - pull-requests: write - with: - package: CodeEntropy - lowest-dependencies: true - test-path: tests/unit - os: '["ubuntu-26.04", "macos-26", "windows-2025-vs2026"]' - timeout-minutes: 30 diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 9a5f979c..3e7b382d 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -13,7 +13,7 @@ concurrency: jobs: unit: name: Unit - uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 + uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 permissions: contents: read checks: write @@ -21,7 +21,7 @@ jobs: pull-requests: write with: package: CodeEntropy - lowest-dependencies-leg: true + lowest-dependencies-check: true test-path: tests/unit os: '["ubuntu-24.04", "macos-26", "windows-2025-vs2026"]' timeout-minutes: 25 @@ -97,7 +97,7 @@ jobs: docs: name: Docs needs: unit - uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 + uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 permissions: contents: read with: @@ -106,7 +106,7 @@ jobs: pre-commit: name: Pre-commit needs: unit - uses: CCPBioSim/.github/.github/workflows/ci-pre-commit.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 + uses: CCPBioSim/.github/.github/workflows/ci-pre-commit.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 permissions: contents: read with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ce2aa6b7..e15cd031 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,7 +18,7 @@ permissions: jobs: prepare: name: Prepare - uses: CCPBioSim/.github/.github/workflows/release-prepare.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 + uses: CCPBioSim/.github/.github/workflows/release-prepare.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 permissions: contents: write pull-requests: write @@ -40,7 +40,7 @@ jobs: website: name: Website needs: prepare - uses: CCPBioSim/.github/.github/workflows/release-website.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 + uses: CCPBioSim/.github/.github/workflows/release-website.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 permissions: contents: read with: @@ -53,7 +53,7 @@ jobs: pypi: name: PyPI needs: prepare - uses: CCPBioSim/.github/.github/workflows/release-pypi.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 + uses: CCPBioSim/.github/.github/workflows/release-pypi.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 permissions: contents: read with: @@ -65,7 +65,7 @@ jobs: conda: name: Conda needs: prepare - uses: CCPBioSim/.github/.github/workflows/release-conda.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 + uses: CCPBioSim/.github/.github/workflows/release-conda.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 permissions: contents: read with: diff --git a/.github/workflows/update-copyright-years-in-license-file.yaml b/.github/workflows/update-copyright-years-in-license-file.yaml index 95f1482c..02154f8f 100644 --- a/.github/workflows/update-copyright-years-in-license-file.yaml +++ b/.github/workflows/update-copyright-years-in-license-file.yaml @@ -10,7 +10,7 @@ permissions: jobs: update-license-year: - uses: CCPBioSim/.github/.github/workflows/maintenance-license-year.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 + uses: CCPBioSim/.github/.github/workflows/maintenance-license-year.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 permissions: contents: write pull-requests: write diff --git a/.github/workflows/weekly-docs.yaml b/.github/workflows/weekly-docs.yaml index 81b64f6a..e0db42d9 100644 --- a/.github/workflows/weekly-docs.yaml +++ b/.github/workflows/weekly-docs.yaml @@ -15,7 +15,7 @@ concurrency: jobs: docs: name: Docs build - uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 + uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 permissions: contents: read with: diff --git a/.github/workflows/daily.yaml b/.github/workflows/weekly-tests.yaml similarity index 73% rename from .github/workflows/daily.yaml rename to .github/workflows/weekly-tests.yaml index a8a9a638..61b81f1f 100644 --- a/.github/workflows/daily.yaml +++ b/.github/workflows/weekly-tests.yaml @@ -1,21 +1,21 @@ -name: Daily Unit Tests +name: Weekly Unit Tests on: schedule: - - cron: '0 8 * * 1-5' + - cron: '17 8 * * 2' workflow_dispatch: permissions: contents: read concurrency: - group: daily-${{ github.ref }} + group: weekly-tests-${{ github.ref }} cancel-in-progress: true jobs: unit: name: Unit - uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@64c08fb93033ff0584dba6edbd8736da52d70bf8 # 0.10.0 + uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 permissions: contents: read checks: write @@ -23,6 +23,7 @@ jobs: pull-requests: write with: package: CodeEntropy + lowest-dependencies-check: true test-path: tests/unit os: '["ubuntu-24.04", "macos-26", "windows-2025-vs2026"]' coverage: false diff --git a/README.md b/README.md index 9a2c4107..fe9ae7fd 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ CodeEntropy | Category | Badges | |----------------|--------| -| **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) | +| **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) | | **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) | | **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) | | **Citation** | [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.17570721.svg)](https://doi.org/10.5281/zenodo.17570721) | diff --git a/docs/developer_guide.rst b/docs/developer_guide.rst index f36171c5..96589609 100644 --- a/docs/developer_guide.rst +++ b/docs/developer_guide.rst @@ -159,15 +159,12 @@ Pull Request checks include: - Documentation build - Pre-commit validation -Daily workflow: - -- Runs automated test validation - Weekly workflows: +- Unit tests on Linux, macOS, and Windows, including the dependency floor checks + (see :ref:`dependency-policy`) - Full regression suite including slow tests - Documentation build across all Python versions -- Dependency floor checks (see :ref:`dependency-policy`) CI also caches regression datasets to improve performance. @@ -181,10 +178,10 @@ bound (floor) is the oldest release CodeEntropy is known to work with, so that i stays installable alongside other scientific packages. Floors are only raised when the code needs a newer release. Upper bounds are widened by Renovate. -The ``lowest-dependencies`` job in the pull request workflow and the weekly -``dependency-floors.yaml`` workflow check this. They check that the lowest -allowed versions resolve to installable wheels on each platform and Python -version, and that the unit tests pass with them installed. +The unit jobs in the pull request and weekly workflows check this. After the +normal tests, each job reinstalls the lowest allowed versions of the direct +dependencies and runs the unit tests again, which checks that they resolve to +installable wheels on each platform and Python version and that the tests pass. Run the same checks locally with `uv `_:: From 8ece496c292395755c6cea80651419c6239d4657 Mon Sep 17 00:00:00 2001 From: harryswift01 Date: Fri, 23 Oct 2026 15:20:30 +0100 Subject: [PATCH 4/5] chore(ci): move the shared workflows to release 0.12.0 --- .github/workflows/coveralls-main.yaml | 2 +- .github/workflows/pr.yaml | 6 +++--- .github/workflows/release.yaml | 8 ++++---- .../workflows/update-copyright-years-in-license-file.yaml | 2 +- .github/workflows/weekly-docs.yaml | 2 +- .github/workflows/weekly-tests.yaml | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/coveralls-main.yaml b/.github/workflows/coveralls-main.yaml index f30f14c4..73227ab4 100644 --- a/.github/workflows/coveralls-main.yaml +++ b/.github/workflows/coveralls-main.yaml @@ -16,7 +16,7 @@ concurrency: jobs: coveralls: name: Build main coverage baseline - uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 + uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0 permissions: contents: read checks: write diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 3e7b382d..3fe0aae2 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -13,7 +13,7 @@ concurrency: jobs: unit: name: Unit - uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 + uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0 permissions: contents: read checks: write @@ -97,7 +97,7 @@ jobs: docs: name: Docs needs: unit - uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 + uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0 permissions: contents: read with: @@ -106,7 +106,7 @@ jobs: pre-commit: name: Pre-commit needs: unit - uses: CCPBioSim/.github/.github/workflows/ci-pre-commit.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 + uses: CCPBioSim/.github/.github/workflows/ci-pre-commit.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0 permissions: contents: read with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e15cd031..9198b99d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,7 +18,7 @@ permissions: jobs: prepare: name: Prepare - uses: CCPBioSim/.github/.github/workflows/release-prepare.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 + uses: CCPBioSim/.github/.github/workflows/release-prepare.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0 permissions: contents: write pull-requests: write @@ -40,7 +40,7 @@ jobs: website: name: Website needs: prepare - uses: CCPBioSim/.github/.github/workflows/release-website.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 + uses: CCPBioSim/.github/.github/workflows/release-website.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0 permissions: contents: read with: @@ -53,7 +53,7 @@ jobs: pypi: name: PyPI needs: prepare - uses: CCPBioSim/.github/.github/workflows/release-pypi.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 + uses: CCPBioSim/.github/.github/workflows/release-pypi.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0 permissions: contents: read with: @@ -65,7 +65,7 @@ jobs: conda: name: Conda needs: prepare - uses: CCPBioSim/.github/.github/workflows/release-conda.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 + uses: CCPBioSim/.github/.github/workflows/release-conda.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0 permissions: contents: read with: diff --git a/.github/workflows/update-copyright-years-in-license-file.yaml b/.github/workflows/update-copyright-years-in-license-file.yaml index 02154f8f..4089bff3 100644 --- a/.github/workflows/update-copyright-years-in-license-file.yaml +++ b/.github/workflows/update-copyright-years-in-license-file.yaml @@ -10,7 +10,7 @@ permissions: jobs: update-license-year: - uses: CCPBioSim/.github/.github/workflows/maintenance-license-year.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 + uses: CCPBioSim/.github/.github/workflows/maintenance-license-year.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0 permissions: contents: write pull-requests: write diff --git a/.github/workflows/weekly-docs.yaml b/.github/workflows/weekly-docs.yaml index e0db42d9..2495a1d7 100644 --- a/.github/workflows/weekly-docs.yaml +++ b/.github/workflows/weekly-docs.yaml @@ -15,7 +15,7 @@ concurrency: jobs: docs: name: Docs build - uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 + uses: CCPBioSim/.github/.github/workflows/ci-docs.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0 permissions: contents: read with: diff --git a/.github/workflows/weekly-tests.yaml b/.github/workflows/weekly-tests.yaml index 61b81f1f..ea0692ab 100644 --- a/.github/workflows/weekly-tests.yaml +++ b/.github/workflows/weekly-tests.yaml @@ -15,7 +15,7 @@ concurrency: jobs: unit: name: Unit - uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@df9784599846a2b5ef1fdb60911a9e65edfb73fd # 0.11.0 + uses: CCPBioSim/.github/.github/workflows/ci-test-python.yaml@f4cec1ba490b4461bfbcfd6362a8587678908a7d # 0.12.0 permissions: contents: read checks: write From 498b697f5e5da4f6da60241e8d67c1a525cdd3b4 Mon Sep 17 00:00:00 2001 From: harryswift01 Date: Fri, 23 Oct 2026 15:28:09 +0100 Subject: [PATCH 5/5] chore: move weekly tests to run on mondays in sync with the other workflows --- .github/workflows/weekly-tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/weekly-tests.yaml b/.github/workflows/weekly-tests.yaml index ea0692ab..c22ecde6 100644 --- a/.github/workflows/weekly-tests.yaml +++ b/.github/workflows/weekly-tests.yaml @@ -2,7 +2,7 @@ name: Weekly Unit Tests on: schedule: - - cron: '17 8 * * 2' + - cron: '0 8 * * 1' workflow_dispatch: permissions: