Install gradio from source in UI tests (#2440)

* Install gradio from source

* CHANGELOG

* Do not upgrade pip
This commit is contained in:
Freddy Boulton 2022-10-12 12:43:44 -04:00 committed by GitHub
parent 70eae89cef
commit 89fc21b17d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -53,9 +53,12 @@ jobs:
node-version: 16
cache: pnpm
cache-dependency-path: ui/pnpm-lock.yaml
- run: pip install -r ../requirements.txt
- name: Install Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- run: cd .. && bash scripts/install_gradio.sh
- run: pip install -r ../demo/outbreak_forecast/requirements.txt
- run: pip install gradio
- run: pnpm install --frozen-lockfile
- run: pnpm exec playwright install chromium
- run: pnpm test:browser:full

View File

@ -27,7 +27,7 @@ No changes to highlight.
* Decreased latency in iterative-output demos by making the iteration asynchronous [@freddyaboulton](https://github.com/freddyaboulton) in [PR 2409](https://github.com/gradio-app/gradio/pull/2409)
* Automatically restart spaces if they're down by [@aliabd](https://github.com/aliabd) in [PR 2405](https://github.com/gradio-app/gradio/pull/2405)
* Carousel component is now deprecated by [@abidlabs](https://github.com/abidlabs) in [PR 2434](https://github.com/gradio-app/gradio/pull/2434)
* Build Gradio from source in ui tests by by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 2440](https://github.com/gradio-app/gradio/pull/2440)
## Contributors Shoutout:
No changes to highlight.