Skip to content

Commit

Permalink
💚 Setuptools SCM is unable to detect the version.
Browse files Browse the repository at this point in the history
  • Loading branch information
fbriol committed Sep 28, 2023
1 parent 7663653 commit 8e0c5b3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Setup Miniconda
uses: mamba-org/provision-with-micromamba@main
Expand Down Expand Up @@ -74,6 +71,10 @@ jobs:
shell: bash -l {0}
run: |
python -m setuptools_scm
python -m setuptools_scm
if [[ ! -e zcollection/version.py ]]; then
echo "__version__ = '$(git describe --tags --always)'" > zcollection/version.py
fi
pytest -v -ra --s3 --processes
win:
Expand All @@ -99,4 +100,7 @@ jobs:
shell: bash -l {0}
run: |
python -m setuptools_scm
if [[ ! -e zcollection/version.py ]]; then
echo "__version__ = '$(git describe --tags --always)'" > zcollection/version.py
fi
pytest -v -ra --processes

0 comments on commit 8e0c5b3

Please sign in to comment.