File tree Expand file tree Collapse file tree 4 files changed +5
-16
lines changed Expand file tree Collapse file tree 4 files changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,13 @@ jobs:
2222 - uses : actions/cache@v4
2323 with :
2424 path : ${{ env.pythonLocation }}
25- key : v1-${{ env.CURRENT_WEEK }}-${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('docs/requirements.txt') }}-${{ hashFiles('requirements-healpix.txt') }}-${{ hashFiles(' constraints.txt') }}
25+ key : v1-${{ env.CURRENT_WEEK }}-${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('docs/requirements.txt') }}-${{ hashFiles('constraints.txt') }}
2626 - name : Install dependencies
2727 run : |
2828 python -m pip install uv
29- # can't use --system here because it doesn't work with --no-build-isolation and a healpix dependency
30- uv venv --python 3.11
31- uv pip install -c constraints.txt -e .[docs]
32- uv pip install --no-build-isolation -c constraints.txt -e .[docs,healpix]
29+ uv pip install --system -c constraints.txt -e .[docs]
3330 - name : Build docs
3431 run : |
35- source .venv/bin/activate
3632 cd docs && make doctest html
3733 - name : Deploy to GitHub Pages
3834 uses : peaceiris/actions-gh-pages@v3
Original file line number Diff line number Diff line change @@ -22,19 +22,15 @@ jobs:
2222 - uses : actions/cache@v4
2323 with :
2424 path : ${{ env.pythonLocation }}
25- key : v1-${{ env.CURRENT_WEEK }}-${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('requirements-healpix.txt') }}-${{ hashFiles(' constraints.txt') }}
25+ key : v1-${{ env.CURRENT_WEEK }}-${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('constraints.txt') }}
2626 - name : Install dependencies
2727 run : |
2828 python -m pip install uv
29- # can't use --system here because it doesn't work with --no-build-isolation and a healpix dependency
30- uv venv --python 3.11
31- uv pip install -c constraints.txt -e .[dev]
32- uv pip install --no-build-isolation -c constraints.txt -e .[dev,healpix]
29+ uv pip install --system -c constraints.txt -e .[dev]
3330 - name : Run pytest with code coverage
3431 run : |
35- source .venv/bin/activate
3632 make test_cov
37- cpu-very-fast-no-healpix :
33+ cpu-very-fast :
3834 runs-on : ubuntu-latest
3935 steps :
4036 - uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ dependencies = { file = "requirements.txt" }
3030optional-dependencies.dev = { file = " requirements-dev.txt" }
3131optional-dependencies.docs = { file = " docs/requirements.txt" }
3232optional-dependencies.deploy = { file = " requirements-deploy.txt" }
33- optional-dependencies.healpix = { file = " requirements-healpix.txt" }
3433
3534[tool .setuptools .packages ]
3635find = {}
@@ -40,7 +39,6 @@ cache-keys = [
4039 { file = " requirements.txt" },
4140 { file = " requirements-dev.txt" },
4241 { file = " docs/requirements.txt" },
43- { file = " requirements-healpix.txt" },
4442]
4543
4644[tool .ruff .lint ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments