From de327f84ceb49817a377febe615c840bb0478587 Mon Sep 17 00:00:00 2001 From: James Frost Date: Tue, 26 Mar 2024 14:59:58 +0000 Subject: [PATCH 1/2] Group installation logs in testing workflow --- .github/workflows/pull_request_checks.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pull_request_checks.yml b/.github/workflows/pull_request_checks.yml index 569c1b7fb..7c457509f 100644 --- a/.github/workflows/pull_request_checks.yml +++ b/.github/workflows/pull_request_checks.yml @@ -35,7 +35,10 @@ jobs: env: PY_COLORS: "1" run: | + # Install package and run pytest. + echo '::group::Installing local package' python3 -m pip install -e . + echo '::endgroup::' pytest --verbose --cov --cov-append --cov-config=pyproject.toml mv .coverage ".coverage.${{ matrix.py-ver }}" - uses: actions/upload-artifact@v4 From efc42af389f9cf7d50877473ff9b12679c9866b3 Mon Sep 17 00:00:00 2001 From: James Frost Date: Fri, 24 May 2024 10:24:34 +0100 Subject: [PATCH 2/2] Add changelog entry --- docs/source/changelog.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 7924c47d8..4492fbdc4 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -14,6 +14,7 @@ Unreleased * `@jfrost-mo`_ ensured cartopy data files are included in the GitHub Actions cache in :pr:`647` +* `@jfrost-mo`_ grouped the package install logs in GitHub Actions in :pr:`645` * `@daflack`_ added an inflow layer properties diagnostic in :pr:`353` * `@jfrost-mo`_ fixed LFRic cube metadata on load in :pr:`627`. This means that loading LFRic data no longer requires special steps in the recipe.