updated readme #58
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: Hercules Insights | |
on: | |
push: | |
jobs: | |
hercules_charts: | |
runs-on: ubuntu-latest | |
name: Charts generated by src-d/hercules | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.ref }} | |
fetch-depth: 0 | |
- name: Run hercules | |
uses: docker://srcd/hercules:latest | |
with: | |
args: | | |
bash -c " | |
pip install 'matplotlib==3.2.0' && | |
hercules --burndown --burndown-people --devs --couples --pb . | labours -m all -f pb --disable-projector -o hercules_charts && | |
cd hercules_charts && | |
tar -cf ../hercules_charts.tar * ../hercules_charts_* && | |
cd .. && | |
rm -r hercules_charts" | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: hercules_charts | |
path: hercules_charts.tar |