mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
parent
943aa2e1f7
commit
847d6b1aac
2 changed files with 71 additions and 0 deletions
28
.github/workflows/test-pyodide.yml
vendored
Normal file
28
.github/workflows/test-pyodide.yml
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
name: Test in Pyodide with shot-scraper
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
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
|
||||
shot-scraper install
|
||||
- name: Run test
|
||||
run: |
|
||||
./test-in-pyodide-with-shot-scraper.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue