Uninstall pypi keras from TF in GitHub Actions (#18629)
This commit is contained in:
parent
36322e744c
commit
19a38801e0
2
.github/workflows/actions.yml
vendored
2
.github/workflows/actions.yml
vendored
@ -48,6 +48,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install -r requirements.txt --progress-bar off --upgrade
|
||||
pip uninstall -y keras keras-nightly
|
||||
pip install -e "." --progress-bar off --upgrade
|
||||
- name: Test applications with pytest
|
||||
if: ${{ steps.filter.outputs.applications == 'true' }}
|
||||
@ -108,6 +109,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install -r requirements.txt --progress-bar off --upgrade
|
||||
pip uninstall -y keras keras-nightly
|
||||
pip install -e "." --progress-bar off --upgrade
|
||||
- name: Lint
|
||||
run: bash shell/lint.sh
|
||||
|
3
.github/workflows/nightly.yml
vendored
3
.github/workflows/nightly.yml
vendored
@ -39,6 +39,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install -r requirements.txt --progress-bar off --upgrade
|
||||
pip uninstall -y keras keras-nightly
|
||||
pip install -e "." --progress-bar off --upgrade
|
||||
- name: Test integrations
|
||||
if: ${{ matrix.backend != 'numpy'}}
|
||||
@ -78,6 +79,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install -r requirements.txt --progress-bar off --upgrade
|
||||
pip uninstall -y keras keras-nightly
|
||||
pip install -e "." --progress-bar off --upgrade
|
||||
- name: Lint
|
||||
run: bash shell/lint.sh
|
||||
@ -97,6 +99,7 @@ jobs:
|
||||
python -m pip install --upgrade pip setuptools
|
||||
pip install twine
|
||||
pip install -r requirements.txt --progress-bar off --upgrade
|
||||
pip uninstall -y keras keras-nightly
|
||||
- name: Build wheel file
|
||||
run: |
|
||||
python pip_build.py --nightly
|
||||
|
Loading…
Reference in New Issue
Block a user