diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 319f177..26ecb44 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,10 +12,8 @@ jobs: steps: - uses: actions/checkout@v2 - run: | - export REPO=$PWD/rc - dir=$REPO/git + # Putting a directory with basename `rm` on `$PATH` breaks `openssl-sys` build inside `cargo install parquet2json` below + dir=$PWD/a/b/c mkdir -p $dir/rm - echo "Adding git helpers repo $dir to PATH" export PATH="$dir:$PATH" - echo "PATH: $PATH" - cargo install parquet2json + cargo install parquet2json diff --git a/Dockerfile b/Dockerfile index 96f65b0..3e5614e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ RUN apt-get update \ && curl https://sh.rustup.rs -sSf | bash -s -- -y WORKDIR /root +# Putting a directory with basename `rm` on `$PATH` breaks `openssl-sys` build inside `cargo install parquet2json` below RUN mkdir -p a/b/c/rm ENV PATH="/root/a/b/c:${PATH}" RUN echo $PATH