Skip to content

Commit

Permalink
Ensure curl is installed before gha-tools (#584)
Browse files Browse the repository at this point in the history
Not 100% sure why, but [starting recently](https://github.com/rapidsai/docker/actions/runs/5923767292/job/16060805130#step:4:8), `curl` is no longer available in the `notebooks` image during tests.

This PR ensures `curl` & `git` are installed before installing `gha-tools` and running tests. Using `--freeze-installed` ensures the tests run on the same environment that is published with the exception of `curl`, `git`, and `perl` (dependency of `git`) being present, but those packages should not impact the tests.

Authors:
  - Ray Douglass (https://github.com/raydouglass)

Approvers:
  - Jake Awe (https://github.com/AyodeAwe)
  - AJ Schmidt (https://github.com/ajschmidt8)

URL: #584
  • Loading branch information
raydouglass authored Aug 23, 2023
1 parent 965767c commit 15d8722
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,15 @@ jobs:
RAPIDS_BUILD_TYPE: ${{ inputs.BUILD_TYPE }}
RAPIDS_GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Install required tools
run: |
mamba install -n base --freeze-installed \
curl \
git
- name: Install gha-tools
run: |
mkdir -p "$GHA_TOOLS_DIR"
curl -s -L 'https://github.com/rapidsai/gha-tools/releases/latest/download/tools.tar.gz' | tar -xz -C "$GHA_TOOLS_DIR"
- name: Install git
run: |
PATH="$PATH:$GHA_TOOLS_DIR"
rapids-mamba-retry install -n base --freeze-installed git
- name: Checkout code
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 15d8722

Please sign in to comment.