Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix version tests in CI
Fix version tests in CI by fetching tags when checking out the repo so
that setuptools_scm correctly infers the version syntax.
  • Loading branch information
gmgunter committed Dec 5, 2023
commit d4fd5881df9b55fa7f3ab221627e58b5e869ee2c
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-tags: true, 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-tags: true, 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-tags: true, submodules: true }
- uses: actions/setup-python@v4
- run: pip install ".[test]" -vv
- run: pytest -vv