Skip to content

Commit a3abfcb

Browse files
committed
Fetch whole repo in test and coverage workflow
This is needed because otherwise the version string determined by hatch upon building the bo4e package will have wrong syntax. With this PR we expect the version string to have a specific syntax for the version.
1 parent 9062dd0 commit a3abfcb

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
os: [ubuntu-latest]
1111
steps:
1212
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
1315
- name: Set up Python ${{ matrix.python-version }}
1416
uses: actions/setup-python@v5
1517
with:

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
os: [ubuntu-latest]
1111
steps:
1212
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
1315
- name: Set up Python ${{ matrix.python-version }}
1416
uses: actions/setup-python@v5
1517
with:

0 commit comments

Comments
 (0)