Skip to content

Commit

Permalink
parse reports
Browse files Browse the repository at this point in the history
  • Loading branch information
mamico committed Jun 1, 2024
1 parent 68b4a4d commit ac03306
Showing 1 changed file with 45 additions and 16 deletions.
61 changes: 45 additions & 16 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,26 @@ jobs:
audit:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
# max-parallel: 4
fail-fast: false
matrix:
hostname:
- 'v3.io-comune.redturtle.it'
- 'www.comune.bibbiano.re.it'
#- 'v3.io-comune.redturtle.it'
#- 'www.comune.bibbiano.re.it'
- 'www.comune.camposanto.mo.it'
- 'www.comune.cavriago.re.it'
- 'www.comune.modena.it'
- 'www.comune.laspezia.it'
- 'www.comune.mirandola.mo.it'
- 'www.comune.novellara.re.it'
- 'www.comune.rolo.re.it'
- 'www.comune.sanpossidonio.mo.it'
- 'www.comune.sanpolodenza.re.it'
- 'www.comune.campegine.re.it'
- 'www.comune.canossa.re.it'
- 'www.comune.santilariodenza.re.it'
- 'www.comune.gattatico.re.it'
- 'www.comune.montecchio-emilia.re.it'
#- 'www.comune.cavriago.re.it'
#- 'www.comune.modena.it'
#- 'www.comune.laspezia.it'
#- 'www.comune.mirandola.mo.it'
#- 'www.comune.novellara.re.it'
#- 'www.comune.rolo.re.it'
#- 'www.comune.sanpossidonio.mo.it'
#- 'www.comune.sanpolodenza.re.it'
#- 'www.comune.campegine.re.it'
#- 'www.comune.canossa.re.it'
#- 'www.comune.santilariodenza.re.it'
#- 'www.comune.gattatico.re.it'
#- 'www.comune.montecchio-emilia.re.it'
steps:
- uses: actions/checkout@v4
- name: Run audit
Expand Down Expand Up @@ -65,3 +65,32 @@ jobs:
keep_files: true
user_name: 'github-actions[bot]' # This will be the username that gets stamped in the repo commit
user_email: 'github-actions[bot]@users.noreply.github.com' # This will be the user email that gets stamped in the repo commit

process-audit:
runs-on: ubuntu-latest
needs: [ download-artifact ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: gh-pages
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
# - name: Install dependencies
- name: Run process audit
run: |
# python -m pip install --upgrade pip
# pip install -r requirements.txt
test -e summary || mkdir summary
python scripts/process_audit.py > summary/audit.json
- name: JSON summary
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./summary
keep_files: true
user_name: 'github-actions[bot]' # This will be the username that gets stamped in the repo commit
user_email: 'github-actions[bot]@users.noreply.github.com' # This will be the user email that gets stamped in the repo commit

0 comments on commit ac03306

Please sign in to comment.