description update #772
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
# This workflow will setup Python, run create_perf_json.py, and archive | |
# perf JSON files. | |
name: Create perf json | |
on: | |
push: | |
pull_request: | |
schedule: | |
# Tuesdays at 9AM PST | |
- cron: '0 16 * * 2' | |
permissions: | |
contents: read | |
jobs: | |
create-perf-json: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout perfmon | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Python 3.x | |
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 | |
with: | |
python-version: "3.x" | |
- name: Run unittests | |
working-directory: ./scripts/unittesting | |
run: python -m unittest metric_test.py test_create_perf_json.py | |
- name: Create perf json files | |
working-directory: ./scripts | |
run: python create_perf_json.py -v | |
- name: Archive perf json files | |
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | |
with: | |
name: perf-json | |
path: scripts/perf | |
retention-days: 10 | |
if-no-files-found: error |