Commit Graph

31 Commits

Author SHA1 Message Date
Freddy Boulton
eaae71fdd1
Don't deploy to spaces on release (#2313) 2022-09-21 12:06:24 -04:00
Freddy Boulton
1a0021e432
Do not deploy pr to spaces on prs originating from forks (#2274)
* Disable deployments from running on forks

* Update workflow file

* Undo change to pypi workflow
2022-09-15 13:03:06 -04:00
Ofek Lev
f43481c18a
Update package metadata (#2226)
* Update package metadata

* address review
2022-09-14 17:39:46 -04:00
Freddy Boulton
5e7f5a0f6b
Delete spaces created on PRs after a certain amount of time (#2249)
* Add script to delete spaces

* Add workflow

* See if required=false fixes it

* Fix input param

* Run again

* Test delete 2

* Delete for real

* Fix typo

* Undo changes for testing

* pass api
2022-09-14 11:15:26 -04:00
Abubakar Abid
3464673064
Add manual trigger to deploy to pypi (#2192)
* Create test.yml

* Update deploy-pypi.yml

* Update deploy-pypi.yml

* Delete test.yml

* fixes

* fixes

* check pypi

* check pypi

* version

* version
2022-09-06 13:49:49 -07:00
Dawood Khan
13915f9c11
[Integration Tests] Update a demo's config.json as part of integration test (#2005)
* add script to create configs for test demos

* no message

* fixes

* fixes

* fix

* test fix

* test fix

* format

* fix
2022-08-17 15:43:26 -04:00
Freddy Boulton
8e24d5d646
Deploy All Demos to Spaces on PRs (#2012)
* Add step to deploy to spaces on release

* Import package not modules

* Lint

* Hacky solution

* Add app file

* Github actions script

* Fix bucket url

* Update versioning

* Fic typo in script

* Change path

* Fix quote

* Clean up action

* Fix keys

* Formatting + comment

* Fix all_demo creation

* lint ui

* Get latest pypi version and use only 20 demos

* Test version change works correctly

* Fix gradio version

* Fix typo

* Use github sha to rebuild on every commit

* Get sha the proper way

* Change where env is accessed

* Fix typo in cp

* Undo changes to version.txt

* Add matrix transpose
2022-08-16 12:07:20 -04:00
Freddy Boulton
21f9da9380
Automatically deploy kitchen sink to spaces on release (#1994)
* Add step to deploy to spaces on release

* Import package not modules

* Lint

* Add comment on slack
2022-08-12 11:51:36 -04:00
pngwn
a039810e51
fix pnpm filters for 7.x (#1927)
* fix pnpm filters for 7.x

* update ci to use pnpm 7

* try a thing

* reinstall types

* usin pnpm dlx instead of pnpx

* usin pnpm dlx instead of pnpx

* explicitly add playwright as dependency

* update lockfile

* update ci

* update ci

* install same version of @playwright/test and playwright

* fix browser downloads
2022-08-02 12:02:06 -07:00
pngwn
817819d7a1
Fix the types (#1843)
* fix types

* fail CI when typechecking fails

* maybe fix

* more fix

* remove all rferences to theme

* fix login
2022-07-21 19:12:46 +01:00
Freddy Boulton
7b9997861c
Automatic Github release and tag upon pypi upload (#1771)
* Add test

* Workflow dispatch

* Use echo

* Bump version

* re-engineer version name

* Checkout

* Use env syntax

* Revert changes made to test

* Reuse env var
2022-07-13 09:58:11 -04:00
Freddy Boulton
1176180ac3
Run integration tests on all prs (#1712)
* Run integration tests on all prs

* Trigget CI

* Use defaults
2022-07-05 17:43:46 -04:00
Abubakar Abid
5069a8814f
5th try (#1556) 2022-06-13 13:39:18 -07:00
Abubakar Abid
3fc4703745
4th try (#1555) 2022-06-13 13:34:42 -07:00
Abubakar Abid
3a746899c8
trying again (#1554) 2022-06-13 13:25:35 -07:00
Abubakar Abid
b2cd4c1207
pip wheel (#1527) 2022-06-10 01:05:43 -07:00
Abubakar Abid
ae499d3932
rt6 (#1526) 2022-06-10 00:59:06 -07:00
Abubakar Abid
553c2c33ea
Rt5 (#1525)
* version

* version

* pnpm
2022-06-10 00:54:36 -07:00
Abubakar Abid
89b5a1293e
Rt4 (#1524)
* version

* version
2022-06-10 00:50:41 -07:00
Abubakar Abid
48fc596dfb
added (#1521) 2022-06-10 00:36:14 -07:00
Abubakar Abid
32fcb775cb
Deploy to pypi using GitHub actions (#1518)
* Create deploy-pypi.yml

* Update deploy-pypi.yml

* Update deploy-pypi.yml

* Update deploy-pypi.yml

* pypi action

* pypi action
2022-06-10 00:29:29 -07:00
Ömer Faruk Özdemir
d117ad0049
remove-sizewatcher (#1400) 2022-05-27 11:06:23 +03:00
Ömer Faruk Özdemir
c03241591e
update-sizewatcher (#1377) 2022-05-25 11:54:51 +03:00
Ömer Faruk Özdemir
499f6013ad
check-for-big-diff (#1375) 2022-05-25 10:28:27 +03:00
pngwn
2b0898b9a2
Scroll to output (#1077)
* implement loader + scroll into view

* changes

* refactor components to use Block inside the app

* cleanup

* cleanup

* implement all changes for all changes for all relevant components

* fix formatting

* demos

* add status tracker to every component

* fix tests

* fix unti test flake: randInt

* cleanup CI

* fix CI

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-26 15:48:39 +01:00
Dawood Khan
499f106c9e
Model3D + Plot Components (#1010)
* add model3D

* model3d component

* add plot component

* format

* ingnore plot.svelte from prettier

* update build script

* update circleci config

* remove circleci config change

* change build script

* remove change to build script

* remove plot.svelte

* remove duplicate save_flagged func

* fix node space issue + format issues

* Update ui.yml

* Update ui.yml

* Update ui.yml

* remove changes to config files

* updated codecov version

* Update ui.yml

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-18 15:26:30 -04:00
pngwn
26d2c190fc
add test infra + add browser tests to CI (#852)
* add test infra

* improve test setup and utils

* finish a test

* add browser tests to ci

* fix ci

* fix ci

* fix ci

* fix ci

* debug ci

* debug ci

* debug ci

* debug ci

* debug ci

* debug ci

* debug ci

* fix ci

* update lockfile

* fix formatting

* install browser when not cached

* bust cache

* debug test in ci

* fix button label

* generate screenshots for failed tests

* generate screenshots for failed tests

* generate screenshots for failed tests

* fix tests

* clean uip debug logs

* add setuip + teardown to functional tests

* remove build from static checks
2022-03-23 15:19:12 +00:00
Ömer Faruk Özdemir
e24b63ac4a Cancel tests with updates 2022-02-23 15:29:39 +03:00
pngwn
db59544d50
add unit tests (#602)
* add unit tests

* add tests to ci

* fix naming of tests
2022-02-14 15:24:04 +00:00
pngwn
9c7ebc8659
add frontend build to ci as a smoke test (#530)
* add frontend build to ci as a smoke test

* add details about ci and quality checks to readme

* fix readme links

* readme: consistent title casing
2022-02-03 10:54:21 +00:00
pngwn
70981c3732
add ci for ui (#524)
* add ci for frontend

* add ci for frontend

* fix workflow

* fix format errors
2022-02-02 15:49:37 +00:00