Skip to content

Commit

Permalink
Merge e42fd75 into 2d87f90
Browse files Browse the repository at this point in the history
  • Loading branch information
esantorella authored Mar 14, 2023
2 parents 2d87f90 + e42fd75 commit d63ede7
Show file tree
Hide file tree
Showing 3 changed files with 673 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/reusable_tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,22 @@ jobs:
python scripts/run_tutorials.py -p "$(pwd)"
- if: ${{ inputs.upload_artifact }}
name: Upload performance data to artifacts branch
# Upload any csv files (the tutorials script ensures there is only one)
# 1) Switch to artifacts branch
# 2) Add the new CSV file
# 3) Get .py and .ipynb files needed for analyzing tutorials data from main
# 4) Run `scripts/analyze_tutorials_performance.py` to merge CSVs and
# update notebook
# 5) Commit updated notebook and new CSVs to artifacts branch
run: |
git config user.email "github-actions@github.com"
git config user.name "github-actions"
cp scripts/analyze_tutorials_performance.py analyze_tutorials_performance.py
cp notebooks/tutorials_performance_tracking.ipynb tutorials_performance_tracking.ipynb
git switch artifacts
mv *.csv tutorial_performance_data/
git add tutorial_performance_data/*.csv
git commit tutorial_performance_data/*.csv -m "Adding most recent tutorials output"
mv tutorials_performance_tracking.ipynb notebooks/
pip install seaborn
python analyze_tutorials_performance.py
git add tutorial_performance_data/*.csv notebooks/tutorials_performance_tracking.ipynb
git commit -a -m "Adding most recent tutorials CSVs and performance analytics notebook"
git push origin artifacts
Loading

0 comments on commit d63ede7

Please sign in to comment.