mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-09 21:30:07 +00:00
f409c4b63b
This reverts commit 00684e6d19
.
Signed-off-by: Bo Chen <chen.bo@intel.com>
23 lines
677 B
YAML
23 lines
677 B
YAML
name: Cloud Hypervisor Tests (Metrics)
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
name: Tests (Metrics)
|
|
runs-on: jammy-metrics
|
|
env:
|
|
METRICS_PUBLISH_KEY: ${{ secrets.METRICS_PUBLISH_KEY }}
|
|
steps:
|
|
- name: Code checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Run metrics tests
|
|
timeout-minutes: 60
|
|
run: scripts/dev_cli.sh tests --metrics -- -- --report-file /root/workloads/metrics.json
|
|
- name: Upload metrics report
|
|
run: 'curl -X PUT https://ch-metrics.azurewebsites.net/api/publishmetrics -H "x-functions-key: $METRICS_PUBLISH_KEY" -T ~/workloads/metrics.json'
|