CI: merge two install steps (#15776)
This commit is contained in:
parent
ab022ac60f
commit
1549a72779
|
@ -77,16 +77,11 @@ jobs:
|
|||
- name: Switch PyTorch URL
|
||||
run: python -c "print('TORCH_URL=https://download.pytorch.org/whl/' + str('test/cpu/torch_test.html' if '${{matrix.release}}' == 'pre' else 'cpu/torch_stable.html'))" >> $GITHUB_ENV
|
||||
|
||||
- name: Install package
|
||||
- name: Install package & depenencies
|
||||
env:
|
||||
PACKAGE_NAME: ${{ matrix.pkg-name }}
|
||||
run: |
|
||||
pip install -e . pytest --upgrade --find-links ${TORCH_URL}
|
||||
pip list
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install -r requirements/app/devel.txt --quiet --find-links ${TORCH_URL}
|
||||
pip install -e . -r requirements/app/devel.txt -U -q --find-links ${TORCH_URL}
|
||||
pip list
|
||||
|
||||
- name: Setup Node.js
|
||||
|
|
Loading…
Reference in New Issue