Skip to content

Commit

Permalink
Use whole conda repo as conda artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarkall committed Aug 1, 2024
1 parent 6fb48cd commit 8fea7de
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/conda-python-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ jobs:
run: ${{ inputs.script }}
env:
GH_TOKEN: ${{ github.token }}
- name: Upload conda package
- name: Upload conda repo
if: "!cancelled()"
uses: actions/upload-artifact@v4
with:
name: conda-package
path: ${{ env.package_path }}
name: conda-repo
path: "/tmp/conda-bld-output/noarch"
- name: Publish conda package
if: inputs.upload_to_anaconda
run: "ci/upload_conda.sh"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conda-python-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
ref: ${{ inputs.sha }}
fetch-depth: 0
- uses: actions/download-artifact@v4
name: conda-package
name: conda-repo
- name: Display structure of downloaded files
run: ls -R
- name: Standardize repository information
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
ref: ${{ inputs.sha }}
fetch-depth: 0
- uses: actions/download-artifact@v4
name: conda-package
name: conda-repo
- name: Display structure of downloaded files
run: ls -R
- name: Standardize repository information
Expand Down
4 changes: 1 addition & 3 deletions ci/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ set +u
conda activate docs
set -u

package=$(realpath conda-package/numba-cuda-*.tar.bz2)
echo "Package path: $package"
rapids-mamba-retry install $package
rapids-mamba-retry install -c `pwd`/conda-repo numba-cuda

rapids-print-env

Expand Down
4 changes: 1 addition & 3 deletions ci/test_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ set +u
conda activate test
set -u

package=$(realpath conda-package/numba-cuda-*.tar.bz2)
echo "Package path: $package"
rapids-mamba-retry install $package
rapids-mamba-retry install -c `pwd`/conda-repo numba-cuda

RAPIDS_TESTS_DIR=${RAPIDS_TESTS_DIR:-"${PWD}/test-results"}/
mkdir -p "${RAPIDS_TESTS_DIR}"
Expand Down

0 comments on commit 8fea7de

Please sign in to comment.