Skip to content

Merge pull request #126 from captain5050/master #287

Merge pull request #126 from captain5050/master

Merge pull request #126 from captain5050/master #287

# 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@v4
- name: Set up Python 3.x
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Run unittests
working-directory: ./scripts/unittesting
run: python metric_test.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@v3
with:
name: perf-json
path: scripts/perf
retention-days: 10
if-no-files-found: error