Bump tqdm from 4.66.2 to 4.66.3 #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2020 Google, LLC. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
name: Show current gcloud auth | |
on: [push, pull_request] | |
jobs: | |
show-auth: | |
name: Run Giskard Tests | |
runs-on: self-hosted | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: "Set up Cloud SDK" | |
uses: "google-github-actions/setup-gcloud@v2" | |
- name: "Use gcloud CLI" | |
run: "gcloud info" | |
- name: Download the 300W indoor dataset | |
id: download_dataset | |
run: | | |
sh download_300W.sh | |
- name: Run the Giskard report 🐢 | |
id: giskard_scan | |
run: | | |
python3.10 report.py | |
echo "Script executed successfully" | |
full_report=$(find . -iname "report_full*.md" -exec basename {} ';' -maxdepth 1) | |
summary_report=$(find . -iname "report_summary*.html" -exec basename {} ';' -maxdepth 1) | |
mkdir -p reports | |
cp $full_report reports/. && cp $summary_report reports/. | |
cp reports/$full_report reports/latest_full_report.md | |
cp reports/$summary_report reports/latest_summary_report.html | |
rm README.md | |
cat README_template.md reports/latest_summary_report.html >> sum_README.md | |
echo "" >> sum_README.md | |
echo "" >> sum_README.md | |
echo "## Full Report" >> sum_README.md | |
cat sum_README.md reports/latest_full_report.md >> README.md | |
rm sum_README.md | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: memory_profiling | |
path: mprofile_*.dat | |
if: always() | |
- name: Extract branch name 🌲 | |
shell: bash | |
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT | |
id: extract_branch | |
- name: Upload the report 🤖 | |
id: extract_sha | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add reports README.md | |
git commit -m "🤖 github-bot: Updated Reports" | |
git push | |
echo "::set-output name=sha::$(git rev-parse HEAD)" |