Tweaks to test scripts, refs #1737

This commit is contained in:
Simon Willison 2022-05-02 16:36:58 -07:00
commit c0cbcf2aba
2 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ jobs:
key: ${{ runner.os }}-browsers key: ${{ runner.os }}-browsers
- name: Install Playwright dependencies - name: Install Playwright dependencies
run: | run: |
pip install shot-scraper pip install shot-scraper build
shot-scraper install shot-scraper install
- name: Run test - name: Run test
run: | run: |

View file

@ -1,12 +1,12 @@
#!/bin/bash #!/bin/bash
set -e
# So the script fails if there are any errors
# Build the wheel # Build the wheel
python3 -m build python3 -m build
# Find name of wheel # Find name of wheel, strip off the dist/
wheel=$(basename $(ls dist/*.whl)) wheel=$(basename $(ls dist/*.whl))
# strip off the dist/
# Create a blank index page # Create a blank index page
echo ' echo '