Skip to content

Revert to base readme #8

Revert to base readme

Revert to base readme #8

Workflow file for this run

name: Playwright Tests
# https://devblogs.microsoft.com/python/announcing-playwright-for-python-reliable-end-to-end-testing-for-the-web/
# https://github.com/marketplace/actions/run-playwright-tests
on:
push:
branches:
- gh-pages
pull_request:
branches:
- gh-pages
workflow_dispatch:
jobs:
test:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
python -m playwright install --with-deps chromium
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Detach jekyll and run Pytest
run: |
# Start up local copy of site
bundle exec jekyll serve --detach
# Sleep for 5 secs to allow Jekyll to start
startup_wait=5
echo "Sleeping for $startup_wait seconds"
sleep $startup_wait
# Run tests
python -m pytest