Also run pip install --require-hashes on GitHub Actions.

PiperOrigin-RevId: 487625303
Change-Id: Ib65ff23faa33a95e077952e275cf466cec44fb93
This commit is contained in:
Saran Tunyasuvunakool
2022-11-10 13:30:36 -08:00
committed by Copybara-Service
parent 985b3f1c9e
commit 6175b508c0
2 changed files with 68 additions and 2 deletions
+2 -2
View File
@@ -117,6 +117,7 @@ jobs:
- name: Prepare Python
shell: bash
run: |
repo="${HOME}"
cd ${{ matrix.tmpdir }}
python -m venv venv
if [[ $RUNNER_OS == "Windows" ]]; then
@@ -126,8 +127,7 @@ jobs:
ln -s ../Scripts/activate venv/bin/activate
fi
source venv/bin/activate
python -m pip install --upgrade pip
pip install pytest wheel
python -m pip install --upgrade --require-hashes -r "${repo}/python/build_requirements.txt"
- name: Configure MuJoCo
run: >
mkdir build &&