From 6ecd8156af55b8766adbbc43d790e6c0199607f3 Mon Sep 17 00:00:00 2001 From: Bill Little Date: Fri, 14 Feb 2025 00:41:06 +0000 Subject: [PATCH] ci: fix tests lock --- .github/workflows/ci-tests-lock.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-tests-lock.yml b/.github/workflows/ci-tests-lock.yml index 35045a02..c21c5ec7 100644 --- a/.github/workflows/ci-tests-lock.yml +++ b/.github/workflows/ci-tests-lock.yml @@ -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. @@ -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