Skip to content

Commit

Permalink
ci(action): add test on push
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Feb 22, 2024
1 parent 43505e9 commit bfa16a9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Tests
on: [pull_request]
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run-container:
name: End to End
Expand All @@ -10,7 +16,7 @@ jobs:
id: a11ywatch-results-generator
uses: ./
with:
WEBSITE_URL: https://jeffmendez.com
WEBSITE_URL: ${{ secrets.WEBSITE_URL }}
FAIL_TOTAL_COUNT: 100
EXTERNAL: false
SITE_WIDE: true
Expand All @@ -19,6 +25,7 @@ jobs:
env:
DEFAULT_RUNNERS: htmlcs
PAGEMIND_IGNORE_WARNINGS: true

- name: Get Results
run: |
echo "website accessibility score ${{ fromJson(steps['a11ywatch-results-generator'].outputs.results).data[0].issuesInfo.accessScore }}"
Expand Down

0 comments on commit bfa16a9

Please sign in to comment.