From bd8272363185895c4c98b6b297ac30bcbfdea4cc Mon Sep 17 00:00:00 2001 From: Radu Suciu Date: Thu, 29 Feb 2024 18:17:54 +0000 Subject: [PATCH] make sure we fetch whole repo history when testing --- .github/workflows/test.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5b1e463..f601b29 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -23,6 +23,11 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v4 + # needed because we use git describe to get a bumpver compatible GITHASH containing version + # alternatively can look at using HEXHASH instead. Note that these are purposefully not + # documented in the bumpver project, see issues/PRs for more info. + with: + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v5 with: