chg: try splash docker in gh actions

pull/206/head
Raphaël Vinot 2021-05-21 12:11:29 -07:00
parent d6709f4f16
commit 18f5eb4f42
1 changed files with 44 additions and 41 deletions

View File

@ -7,6 +7,15 @@ on:
branches: [ main ]
jobs:
splash-container:
image: scrapinghub:splash
options: --disable-browser-caches
ports:
- 8050:8050
- 5023:5023
lookyloo-container:
build:
runs-on: ubuntu-latest
@ -21,12 +30,6 @@ jobs:
with:
python-version: ${{matrix.python-version}}
- name: Install & run splash
run: |
sudo apt install docker.io
sudo docker pull spcrapinghub/splash
sudo docker run -p 8050:8050 -p 5023:5023 scrapinghub/splash --disable-browser-caches
- name: Install and setup redis
run: |
git clone https://github.com/antirez/redis.git