From 799b75268dac1db7439df178f6eb8c02f6c0da3f Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 12 Oct 2026 06:44:45 +0000 Subject: [PATCH] Checkout full history in the shared test workflows hatch-vcs needs the tags: with a shallow checkout the plugin is installed as 0.1.dev1, which makes pip fail on plugins that pymodaq itself requires (pymodaq_plugins_mock). Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01Tdiso1u1ZhikSutj2Qs5Cg --- .github/workflows/reusable-compatibility.yml | 2 ++ .github/workflows/reusable-tests.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/reusable-compatibility.yml b/.github/workflows/reusable-compatibility.yml index d006b2c..4b3cb86 100644 --- a/.github/workflows/reusable-compatibility.yml +++ b/.github/workflows/reusable-compatibility.yml @@ -35,6 +35,8 @@ jobs: QT_DEBUG_PLUGINS: 1 steps: - uses: actions/checkout@v7.0.1 + with: + fetch-depth: 0 # history and tags, needed by hatch-vcs: without them the version is 0.1.dev and e.g. pymodaq_plugins_mock cannot satisfy pymodaq's own requirement - uses: actions/setup-python@v6.2.0 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/reusable-tests.yml b/.github/workflows/reusable-tests.yml index 26b74b9..b6b0662 100644 --- a/.github/workflows/reusable-tests.yml +++ b/.github/workflows/reusable-tests.yml @@ -26,6 +26,8 @@ jobs: QT_DEBUG_PLUGINS: 1 steps: - uses: actions/checkout@v7.0.1 + with: + fetch-depth: 0 # history and tags, needed by hatch-vcs: without them the version is 0.1.dev and e.g. pymodaq_plugins_mock cannot satisfy pymodaq's own requirement - uses: actions/setup-python@v6.2.0 with: python-version: ${{ inputs.python-version }}