Skip to content

Commit 52d13da

Browse files
authored
ci: fix tests lock (#1337)
1 parent 383e6ab commit 52d13da

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/ci-tests-lock.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ jobs:
4040
with:
4141
fetch-depth: 0
4242

43-
- uses: actions/setup-python@v5
44-
with:
45-
python-version: '3.x'
46-
4743
- name: "environment configure"
4844
env:
4945
# Maximum cache period (in weeks) before forcing a cache refresh.
@@ -58,9 +54,9 @@ jobs:
5854
env:
5955
VTK_BUILD: " - vtk=*=qt_*"
6056
run: |
61-
python -m pip install conda-lock
57+
conda update -n base --all
6258
python -c 'open("geovista.yml", "a").write("\n - python =${{ env.PY_MAJOR }}.${{ env.PY_MINOR }}\n${{ env.VTK_BUILD }}\n")'
63-
conda-lock --channel conda-forge --kind explicit --file geovista.yml --platform linux-64
59+
pipx run conda-lock --channel conda-forge --kind explicit --file geovista.yml --platform linux-64
6460
6561
- name: "upload lock artifact"
6662
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)