Skip to content

Commit

Permalink
Make unit tests use a temp dir instead of /home/ec2-user (#126)
Browse files Browse the repository at this point in the history
Summary:
As title.

Pull Request resolved: #126

Reviewed By: PaliC

Differential Revision: D38633472

Pulled By: anirbanr-fb-r2p

fbshipit-source-id: a027d7fbd3088ac8efdd7ab318ec918ba0e1f4d2
  • Loading branch information
anirbanr-fb-r2p authored and facebook-github-bot committed Aug 12, 2022
1 parent bf685e6 commit 0c6ba76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/runtime_nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
- name: Setup conda
run: |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ${RUNNER_TEMP}/miniconda.sh
bash ${RUNNER_TEMP}/miniconda.sh -b -p $HOME/miniconda
bash ${RUNNER_TEMP}/miniconda.sh -b -p ${RUNNER_TEMP}/miniconda
- name: setup Path
run: |
echo "/home/ec2-user/miniconda/bin" >> $GITHUB_PATH
echo "CONDA=/home/ec2-user/miniconda" >> $GITHUB_PATH
echo "${RUNNER_TEMP}/miniconda/bin" >> $GITHUB_PATH
echo "CONDA=${RUNNER_TEMP}/miniconda" >> $GITHUB_PATH
- name: Checkout MultiPy
uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/runtime_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
- name: Setup conda
run: |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ${RUNNER_TEMP}/miniconda.sh
bash ${RUNNER_TEMP}/miniconda.sh -b -p $HOME/miniconda
bash ${RUNNER_TEMP}/miniconda.sh -b -p ${RUNNER_TEMP}/miniconda
- name: setup Path
run: |
echo "/home/ec2-user/miniconda/bin" >> $GITHUB_PATH
echo "CONDA=/home/ec2-user/miniconda" >> $GITHUB_PATH
echo "${RUNNER_TEMP}/miniconda/bin" >> $GITHUB_PATH
echo "CONDA=${RUNNER_TEMP}/miniconda" >> $GITHUB_PATH
- name: Checkout MultiPy
uses: actions/checkout@v2
Expand Down

0 comments on commit 0c6ba76

Please sign in to comment.