Skip to content

Commit

Permalink
gha ci-locks-test upload artifact (#1139)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjlittle authored Oct 4, 2024
1 parent 393dc67 commit 5c6b5e7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci-locks-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Reference:
# - https://github.com/awalsh128/cache-apt-pkgs-action
# - https://github.com/actions/checkout
# - https://github.com/awalsh128/cache-apt-pkgs-action
# - https://github.com/conda-incubator/setup-miniconda
# - https://github.com/actions/upload-artifact

name: ci-locks-test

Expand Down Expand Up @@ -55,6 +56,13 @@ jobs:
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
- name: "upload lock artifact"
uses: actions/upload-artifact@v4
with:
name: lock-artifacts-${{ github.job }}-${{ strategy.job-index }}
path: |
${{ github.workspace }}/requirements/conda-linux-64.lock
- name: "conda install"
uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca
with:
Expand Down
3 changes: 3 additions & 0 deletions changelog/1139.internal.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Added lock file artifact upload for ``ci-locks-test`` :fab:`github` Action
to allow contributor reproducibility of any regression behaviour.
(:user:`bjlittle`)

0 comments on commit 5c6b5e7

Please sign in to comment.