Skip to content

merge_report

merge_report #10

Workflow file for this run

name: PA WebSite Audit
on:
- push
- pull_request
- workflow_dispatch
jobs:
audit:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
fail-fast: false
matrix:
hostname:
- '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'
steps:
- uses: actions/checkout@master
- name: Run audit
uses: ./
with:
url: https://${{ matrix.hostname }}
type: 'municipality'
scope: 'online'
- name: Upload artifact
uses: actions/upload-artifact@master
with:
name: audit-${{ matrix.hostname }}
path: ./report/${{ matrix.hostname }}
# merge:
# runs-on: ubuntu-latest
# needs: [ audit-comune ]
# outputs:
# matrix: ${{ steps.matrix.outputs.matrix }}
# steps:
# - name: Download artifact
# if: always() # We want this to always run, even if test fail prior to this step running
# uses: actions/download-artifact@v3
# - run: |
# matrix="$(cat */matrix | jq -c --slurp .)"
# echo "::set-output name=matrix::$matrix"
# id: matrix
publish-html:
runs-on: ubuntu-latest
needs: [ audit ]
strategy:
fail-fast: false
# matrix:
# includes: ${{ fromJSON(needs.merge.outputs.matrix) }}
steps:
- name: Publish HTML report
if: always() # We want this to always run, even if test fail prior to this step running
uses: peaceiris/actions-gh-pages@v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: report/
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