Skip to content

Commit

Permalink
ci: fix tests lock (#1335)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjlittle authored Feb 14, 2025
1 parent 05fdcfa commit 383e6ab
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci-tests-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: "environment configure"
env:
# Maximum cache period (in weeks) before forcing a cache refresh.
Expand All @@ -54,8 +58,9 @@ jobs:
env:
VTK_BUILD: " - vtk=*=qt_*"
run: |
python -m pip install conda-lock
python -c 'open("geovista.yml", "a").write("\n - python =${{ env.PY_MAJOR }}.${{ env.PY_MINOR }}\n${{ env.VTK_BUILD }}\n")'
pipx run conda-lock --channel conda-forge --kind explicit --file geovista.yml --platform linux-64
conda-lock --channel conda-forge --kind explicit --file geovista.yml --platform linux-64
- name: "upload lock artifact"
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 383e6ab

Please sign in to comment.