Skip to content

Instantly share code, notes, and snippets.

@shcheklein
Last active August 9, 2020 19:35
Show Gist options
  • Save shcheklein/774eeed7280a1bcc86d52cd2d680de72 to your computer and use it in GitHub Desktop.
Save shcheklein/774eeed7280a1bcc86d52cd2d680de72 to your computer and use it in GitHub Desktop.
Metrics report
name: report-status
on: [push, pull_request]
jobs:
run:
runs-on: [ubuntu-latest]
container: docker://dvcorg/cml-py3:latest
steps:
- uses: actions/checkout@v2
- name: Generate report
env:
repo_token: ${{ secrets.GITHUB_TOKEN }}
run: |
dvc plots show --show-vega prc.json > vega.json
vl2svg vega.json prc.svg
echo "## Metrics report" > report.md
cml-publish prc.svg --md >> report.md
cml-send-comment report.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment