blacken-docs, refs #2441 #1543
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test in Pyodide with shot-scraper | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
cache: 'pip' | |
cache-dependency-path: '**/setup.py' | |
- name: Cache Playwright browsers | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/ms-playwright/ | |
key: ${{ runner.os }}-browsers | |
- name: Install Playwright dependencies | |
run: | | |
pip install shot-scraper build | |
shot-scraper install | |
- name: Run test | |
run: | | |
./test-in-pyodide-with-shot-scraper.sh |