mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-23 11:39:17 +08:00
fix tests
This commit is contained in:
parent
957151df4b
commit
ada6488a05
@ -6,18 +6,24 @@ jobs:
|
||||
steps:
|
||||
- checkout
|
||||
- run: mkdir test-reports
|
||||
- restore_cache:
|
||||
key: deps1-{{ .Branch }}-{{ checksum "gradio.egg-info/requires.txt" }}
|
||||
- run:
|
||||
name: Install Python deps in a venv
|
||||
command: |
|
||||
python3 -m venv venv
|
||||
. venv/bin/activate
|
||||
venv/bin/pip3 install --upgrade pip
|
||||
venv/bin/python3 setup.py install
|
||||
venv/bin/pip3 install selenium==4.0.0a6.post2
|
||||
pip install --upgrade pip
|
||||
pip install -r gradio.egg-info/requires.txt
|
||||
pip install selenium==4.0.0a6.post2
|
||||
- run:
|
||||
command: |
|
||||
chromedriver --version
|
||||
name: Check chrome driver install
|
||||
- save_cache:
|
||||
key: deps1-{{ .Branch }}-{{ checksum "gradio.egg-info/requires.txt" }}
|
||||
paths:
|
||||
- "venv"
|
||||
- run:
|
||||
command: |
|
||||
mkdir screenshots
|
||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,7 +1,8 @@
|
||||
venv
|
||||
dist/
|
||||
.eggs/
|
||||
*.egg-info
|
||||
gradio.egg-info/*
|
||||
!gradio.egg-info/requires.txt
|
||||
*.pyc
|
||||
staticfiles
|
||||
.env
|
||||
|
15
gradio.egg-info/requires.txt
Normal file
15
gradio.egg-info/requires.txt
Normal file
@ -0,0 +1,15 @@
|
||||
Flask-Cors>=3.0.8
|
||||
Flask-Login
|
||||
Flask>=1.1.1
|
||||
analytics-python
|
||||
ffmpy
|
||||
flask-cachebuster
|
||||
markdown2
|
||||
matplotlib
|
||||
numpy
|
||||
pandas
|
||||
paramiko
|
||||
pillow
|
||||
pycryptodome
|
||||
requests
|
||||
scipy
|
Loading…
Reference in New Issue
Block a user