Skip to content

Commit

Permalink
Fix version tests in CI (#5)
Browse files Browse the repository at this point in the history
* Fix version tests in CI

Fix version tests in CI by fetching history & tags during checkout so
that setuptools_scm correctly infers the version syntax.
  • Loading branch information
gmgunter committed Dec 5, 2023
1 parent 7006955 commit d288b35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ${{ matrix.os.runner }}
steps:
- uses: actions/checkout@v4
with: { submodules: true }
with: { fetch-depth: 0, submodules: true }
- uses: actions/setup-python@v4
- run: pip install ".[raster,test]" -vv
- run: pytest -vv
Expand All @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: { submodules: true }
with: { fetch-depth: 0, submodules: true }
- uses: actions/setup-python@v4
with: { python-version: "3.9" }
- run: pip install -c ci/min-reqs.txt ".[raster,test]" -vv
Expand All @@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with: { submodules: true }
with: { fetch-depth: 0, submodules: true }
- uses: actions/setup-python@v4
- run: pip install ".[test]" -vv
- run: pytest -vv

0 comments on commit d288b35

Please sign in to comment.