Skip to content

Update test_websites.py #5

Update test_websites.py

Update test_websites.py #5

name: Create PageSpeed report
on:
push:
branches:
- main
jobs:
pagespeed-report:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Python 3.x
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: pip install requests
- name: Run Website Tests
run: python test_websites.py
- name: Commit and push report
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add README.md
git commit -m "Add generated report" -a || echo "No changes to commit"
git push