[ci] Enhancement: Perf Workflow #17
Workflow file for this run
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 (c) Microsoft Corporation. | |
# Licensed under the MIT license. | |
name: Performance Analysis | |
on: | |
push: | |
branches: | |
- bugfix-* | |
- enhancement-* | |
- feature-* | |
- workaround-* | |
- dev | |
- unstable | |
- main | |
workflow_dispatch: | |
jobs: | |
plot: | |
name: Plot | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Plot Performance | |
run: | | |
git version | |
git show --format=%H -s HEAD | |
git rev-list --max-parents=0 HEAD | |
git show --format=%P -s HEAD | |
git show --format=%P -s | |
pip install --pre azure-data-tables azure-storage-blob pandas matplotlib | |
python3 tools/plot.py \ | |
--connection "${{ secrets.AZURE_STORAGE_CONNECTION_STRING }}" \ | |
--table ${{ secrets.AZURE_STORAGE_TABLE_NAME }} \ | |
--key ${{ secrets.AZURE_STORAGE_KEY }} \ | |
--container ${{ secrets.AZURE_STORAGE_CONTAINER }} \ | |
--no-plot | |