Skip to content

Commit

Permalink
Try again, inlining!
Browse files Browse the repository at this point in the history
  • Loading branch information
jiribenes authored Oct 26, 2024
1 parent 4f70811 commit cdaa059
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/hercules.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
name: Hercules Analysis

on: [push]

jobs:
hercules-charts:
runs-on: ubuntu-latest
name: Charts generated by src-d/hercules
name: Generate Burndown Charts
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Hercules
uses: src-d/hercules@master
with:
args: "--burndown"

- name: Run Hercules Analysis
run: |
# Install Hercules and Labours
docker run --rm -v $(pwd):/repo --workdir=/repo \
srcd/hercules:latest \
/bin/bash -c \
'hercules --burndown . | labours -m burndown-project -f pb -o hercules_charts \
&& cd hercules_charts \
&& tar -cf ../hercules_charts.tar * \
&& cd .. \
&& rm -r hercules_charts'
- uses: actions/upload-artifact@master
with:
name: hercules_charts
Expand Down

0 comments on commit cdaa059

Please sign in to comment.