output format changes and errors in github (#19608)
This commit is contained in:
parent
4e0a920ea1
commit
8e521f0482
4
.github/workflows/actions.yml
vendored
4
.github/workflows/actions.yml
vendored
@ -115,6 +115,8 @@ jobs:
|
|||||||
pip install -r requirements.txt --progress-bar off --upgrade
|
pip install -r requirements.txt --progress-bar off --upgrade
|
||||||
pip uninstall -y keras keras-nightly
|
pip uninstall -y keras keras-nightly
|
||||||
pip install -e "." --progress-bar off --upgrade
|
pip install -e "." --progress-bar off --upgrade
|
||||||
|
- name: Lint
|
||||||
|
run: bash shell/lint.sh
|
||||||
- name: Check for API changes
|
- name: Check for API changes
|
||||||
run: |
|
run: |
|
||||||
bash shell/api_gen.sh
|
bash shell/api_gen.sh
|
||||||
@ -124,5 +126,3 @@ jobs:
|
|||||||
echo "Please run shell/api_gen.sh to generate API."
|
echo "Please run shell/api_gen.sh to generate API."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
- name: Lint
|
|
||||||
run: bash shell/lint.sh
|
|
||||||
|
5
.github/workflows/nightly.yml
vendored
5
.github/workflows/nightly.yml
vendored
@ -81,6 +81,8 @@ jobs:
|
|||||||
pip install -r requirements.txt --progress-bar off --upgrade
|
pip install -r requirements.txt --progress-bar off --upgrade
|
||||||
pip uninstall -y keras keras-nightly
|
pip uninstall -y keras keras-nightly
|
||||||
pip install -e "." --progress-bar off --upgrade
|
pip install -e "." --progress-bar off --upgrade
|
||||||
|
- name: Lint
|
||||||
|
run: bash shell/lint.sh
|
||||||
- name: Check for API changes
|
- name: Check for API changes
|
||||||
run: |
|
run: |
|
||||||
bash shell/api_gen.sh
|
bash shell/api_gen.sh
|
||||||
@ -90,8 +92,7 @@ jobs:
|
|||||||
echo "Please run shell/api_gen.sh to generate API."
|
echo "Please run shell/api_gen.sh to generate API."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
- name: Lint
|
|
||||||
run: bash shell/lint.sh
|
|
||||||
|
|
||||||
nightly:
|
nightly:
|
||||||
name: Build Wheel file and upload
|
name: Build Wheel file and upload
|
||||||
|
@ -9,4 +9,4 @@ python3 "${base_dir}"/api_gen.py
|
|||||||
|
|
||||||
echo "Formatting api directory..."
|
echo "Formatting api directory..."
|
||||||
# Format API Files
|
# Format API Files
|
||||||
bash "${base_dir}"/shell/format.sh > /dev/null 2>&1
|
bash "${base_dir}"/shell/format.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user