Last active
August 9, 2020 19:35
-
-
Save shcheklein/774eeed7280a1bcc86d52cd2d680de72 to your computer and use it in GitHub Desktop.
Metrics report
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
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