mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-21 01:01:05 +08:00
build essential packages fpor functional tests (#9802)
This commit is contained in:
parent
ebd904db75
commit
cc39d3b737
2
.github/workflows/test-functional-lite.yml
vendored
2
.github/workflows/test-functional-lite.yml
vendored
@ -51,6 +51,8 @@ jobs:
|
||||
python_version: "3.10"
|
||||
test: true
|
||||
- run: pnpm exec playwright install chromium firefox
|
||||
- name: build essential packages
|
||||
run: pnpm --filter @gradio/utils --filter @gradio/theme package
|
||||
- name: Run Lite E2E tests
|
||||
run: |
|
||||
. venv/bin/activate
|
||||
|
2
.github/workflows/test-functional.yml
vendored
2
.github/workflows/test-functional.yml
vendored
@ -57,6 +57,8 @@ jobs:
|
||||
python -m pip install -r demo/outbreak_forecast/requirements.txt
|
||||
python -m pip install -r demo/stream_video_out/requirements.txt
|
||||
- run: pnpm exec playwright install chromium firefox
|
||||
- name: build essential packages
|
||||
run: pnpm --filter @gradio/utils --filter @gradio/theme package
|
||||
- name: run browser tests
|
||||
env:
|
||||
GRADIO_SSR_MODE: ${{ matrix.ssr }}
|
||||
|
@ -8,7 +8,8 @@
|
||||
"license": "ISC",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"generate": "pollen -c src/pollen.config.cjs"
|
||||
"generate": "pollen -c src/pollen.config.cjs",
|
||||
"package": "svelte-package --input=. --cwd=../../.config/"
|
||||
},
|
||||
"exports": {
|
||||
".": {
|
||||
|
Loading…
Reference in New Issue
Block a user