eddie
4a79280edc
feat: allow manual test runs ( #7415 )
2023-10-05 12:12:21 -07:00
Zach Pomerantz
16cefb9cdb
test: fix cloud tests ( #7280 )
2023-09-08 10:53:22 -07:00
Brendan Wong
0feddebcc3
feat: add CodeCov to cloud tests ( #7154 )
...
* feat: add CodeCov to cloud tests
* Update codecov.yml
* Update codecov.yml
* get cov to 80%
* remove unneeded test
2023-08-17 11:30:56 -04:00
Brendan Wong
51dc10b467
fix: remove flakey tests from cloud functions and overall deflake ( #7156 )
...
* fix: remove flakey tests
* increase setup time
* reduce max workers
* Update .github/workflows/test.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update functions/global-setup.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update global-teardown.ts
* add retry time
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-08-14 16:50:49 -04:00
Brendan Wong
b14831be12
fix: downgrade wrangler ( #7128 )
...
* downgrade wrangler
* remove report
* comment and update test
* update comment
2023-08-09 20:20:02 -04:00
Zach Pomerantz
b2dfb29f51
build: simplify/fix test caching ( #7084 )
...
* build: rm unnecessary cache-on-main
* build: hardhat fan-in cache
2023-08-08 16:48:27 -07:00
Zach Pomerantz
08501234a8
build: replace babel with swc ( #7056 )
...
* chore: refactor ms.macro to ms
* build: upgrade lingui@4
* chore: avoid styled-components/macro
* build: replace babel loader with swc
* build: upgrade vanilla-extract
* build: simplify e2e config
* build: migrate jest to swc
* build: dedup
* whoops
* fix: initial translations
* build: coverage
* build: ignore static extract warning
* build: rm old babel pkg
* test: rm e2e codecov
* build: fix swc cache
* cleanup
* fix visible t9ns
* cleanup
* cleanup setup
* crank it
* actual merge conflict resolution
* fix: restore locale initialization
2023-08-08 10:38:37 -07:00
Zach Pomerantz
7978ed97a9
test(cypress): clean up types/assumptions/infura ( #7046 )
2023-08-01 22:13:19 -07:00
Brendan Wong
22112c763c
feat: automated testing for cloud functions ( #6931 )
...
* feat: add token and nft injection
* feat: basic tests
* fix: get jest configured properly
* fix: change timeout
* fix: uninstall port ready
* fix: readd port ready
* fix: local tests work
* Update yarn.lock
* add lint disable for setup files
* fix: update dependencies
* fix: basic test suite for nfts/tokens
* feat: collection data
* fix: make tests more comprehensive
* fix: change matches to contains
* fix: tests for twitter alt image tag
* fix: image gen
* fix: add patch-package
* fix: update yarn install
* feat: basic image gen for nfts and collections
* fix: remove vibrant attempt
* use watermark asset
* dynamically grab color
* modularize code and prototype for token preview
* refactor code
* finalize css
* fix color grabber
* update tests
* fix up css
* refactor code a bit more
* remove console logs
* tests
* update tests
* update images based on design feedback
* network logos
* update lint
* slight refactoring
* more refactoring
* fix packages
* Update yarn.lock
* remove dynamically generated image stuff
* cleanup return values
* Create README.md
* Revert "Create README.md"
This reverts commit 7a91c98d384995fba914c9bf9a2fb3072793621f.
* First round of feedback
* comments
* Update test.yml
* Update test.yml
* Update test.yml
* feedback round 2
* final feedback
* final final feedback
* add coverage and other options
* Update test.yml
* start typecheck
* update cache
* update snapshots?
* Update jest.config.json
* Update jest.config.json
* give timeout some buffer
* update import
* upgrade ts
* fix typing for apollo deps
* finalize typechecks
* downgrade typescript to original version
* add cache directory to jest
* remove coverage
* remove google analytics from tests
* review changes
2023-07-25 15:12:13 -04:00
Zach Pomerantz
c8a17f5fe9
build: use context.sha ( #6900 )
2023-07-07 10:48:00 -07:00
Zach Pomerantz
86677ed193
test(staging): add staging-only t9n test ( #6899 )
...
* test(staging): add staging-only test
* test(staging): translations mount
* ci(t9n): download translations from crowdin
* test: proving that it works
* Revert "ci(t9n): download translations from crowdin"
This reverts commit b6e0f0c5c296c3ad4166419d72e9b2ebd053be87.
* Revert "test: proving that it works"
This reverts commit 1d3a1c2a2377e1a3b790f706c42b7169a47e59fd.
* fix: spec->test
---------
Co-authored-by: UL Service Account <hello-happy-puppy@users.noreply.github.com>
2023-07-07 09:41:20 -07:00
Zach Pomerantz
accf0905f8
build: block promotion on Test ( #6898 )
2023-07-07 08:47:32 -07:00
Zach Pomerantz
082db21308
build: set test status per commit ( #6824 )
...
* build: annotate commit with test status
* build: Test / promotion
* fix: ellipsis
* build: also run on releases/staging
* errant comma
* script context
* runId
* build: post after pre
2023-07-05 14:42:43 -07:00
Zach Pomerantz
b49dd03e25
test(e2e): use electron ( #6827 )
...
* test(e2e): use electron
* build: use default container for cypress-test-matrix
2023-07-05 13:30:54 -07:00
Zach Pomerantz
011136d0e9
build: improve workflow caching ( #6825 )
...
* build: only cache on main
* build: do not glob yarn.lock
* build: do not cache on yarn.lock
2023-06-23 14:40:58 -04:00
Zach Pomerantz
a3d72a4bbc
build: simplify workflows ( #6814 )
...
* build: simplify workflows
* docs: better name
2023-06-22 14:48:42 -04:00
Zach Pomerantz
4235b57cd8
build: make codecov reports consistent/not confusing ( #6734 )
...
* build: codecov config
* build: better codecov
* build: omit default
* build: sensical codecov
* build: upload-artifact
* build: customize codecov comment
* build: try again
* build: try again
* build: turn off status except flags
* build: flag comments
* build: changes on
* build: simplify
* build: after_n for comment
2023-06-09 11:00:27 -07:00
Nate Wienert
72686f1e32
ci: temporarily disable coverage tests as they are too flakey ( #6684 )
2023-06-05 06:42:59 -10:00
Zach Pomerantz
2415a1e3cd
test(e2e): improve hardhat configuration ( #6650 )
...
build: cache hardhat cache
2023-05-25 11:53:39 -07:00
Zach Pomerantz
65d91eb363
build: use repository slack secret ( #6639 )
2023-05-24 13:15:28 -04:00
Zach Pomerantz
8fe7c7a0a7
build: notify from notify/test ( #6597 )
...
* build: notify from notify/test
* debug
* debug2
* revert debugs
2023-05-19 12:24:11 -07:00
Zach Pomerantz
a2db3e2719
test(e2e): configure Cypress to post PR status comments ( #6591 )
2023-05-19 06:32:42 -07:00
Zach Pomerantz
11a8df2a3e
build: report test failures via Slack ( #6539 )
...
* build: report test failures
2023-05-12 09:19:20 -07:00
Zach Pomerantz
2150347ba2
build: cache generated files across builds ( #6495 )
...
* build: cache generated files across builds
* docs: lingui pkg-up comment
* docs: explain clean extraction
2023-05-09 15:49:53 -07:00
Zach Pomerantz
252acef199
build: cap chunk size to 5MB ( #6479 )
...
* build: cap chunk size to 5MB
* test: rm size-tests
2023-05-02 08:46:32 -07:00
Zach Pomerantz
803485b96a
build: update default test settings ( #6441 )
...
build: coverage on CI by default
2023-04-27 14:34:37 -07:00
Zach Pomerantz
f7b8f945f2
build: allow parallel cypress re-run ( #6449 )
...
* build: allow parallel cypress re-run
* build: add a step
2023-04-26 17:02:53 -07:00
Zach Pomerantz
87514742f1
test: shard GH action unit tests ( #6428 )
...
* test: shard GH action unit tests
* fix: use percent
2023-04-24 12:59:05 -07:00
eddie
75b0320bbe
feat: use codecov flags ( #6418 )
2023-04-24 12:44:41 -07:00
eddie
820e179560
fix: e2e test coverage reporting ( #6286 )
...
* fix: e2e test coverage reporting
* fix: try increasing
* fix: names
* fix: optimize test.yml
* fix: undo last change and add cache
2023-04-20 15:34:09 -07:00
Zach Pomerantz
aed969f38d
test: silence CI tests ( #6387 )
2023-04-20 13:44:29 -07:00
Zach Pomerantz
7ab6a17b42
build: utilize the node_modules/.cache ( #6364 )
...
* build: add caching to eslint
* build: add caching to jest
* build: add caching to tsc
* build: add caching to actions
* fix: upgrade upload-artifact to v3
* build: update craco eslint cacheLocation
* fix: pr nits
2023-04-17 09:28:00 -07:00
Zach Pomerantz
ef9ecd9ce2
build: optimize build by splitting out typechecking and linting ( #6323 )
...
* build: move typecheck/lint out of build
* build: add typecheck to test action
* build: fix lint to use gitignore
* fix: correctly lint/check
* fix: simplify lint
* build: back out eslint array-ification
* test(lint): add comment RE config/typings
* build: clarify craco webpack plugin mods
* build: simplify craco webpack with functional methods
* build: rm unused IgnorePlugin
* test(lint): order imports
2023-04-13 12:43:47 -07:00
eddie
35dace7bfe
feat: cypress test coverage reporting ( #6212 )
...
* wip
* fix: only instrument thru babel in test and dev
* fix: remove unused deps
* fix: yarn dedup
* fix: remove nyc_output dir from git
* fix: remove comment from index.html
2023-03-27 09:48:02 -07:00
Zach Pomerantz
089fba5dee
test: parallelize cypress (again) with a consistent container ( #6182 )
...
* Revert "test: run cypress on one machine (#6181 )"
This reverts commit a2812fcf79a68d4585a2659e9dc9e653d16033e7.
* test: use consistent container across cypress-test-matrix
* test: condition cypress-tests on cypress-test-matrix
* test: check cypress-test-matrix
* debug: cypress-test-matrix.result
* test: fix error
* test: fix error
* test: fix error
* test: fix error
* test: fix error
* test: fix error
2023-03-17 13:09:20 -07:00
Zach Pomerantz
a2812fcf79
test: run cypress on one machine ( #6181 )
...
* test: run cypress on one machine
* build: turn off parallel cypress
2023-03-16 21:10:36 -07:00
Zach Pomerantz
a7c6ce499d
test: enforce package size ( #4098 )
...
* build: use fewer babel versions
* build: dedup
* test: test deps dedups
* fix: test.yml
* fix: typo
* test: failing
* fix: dedup
* fix: dedup
* test: comment dedup tests
* chore: whitespace
* test: package size
* build: scripts
* test: update test-size
* docs: CONTRIBUTING
2023-03-07 09:27:20 -08:00
Jordan Frankfurt
93e0054f10
feat: add jest coverage to github action ( #5850 )
...
* add jest coverage to github action
* working on action config
* fix yaml syntax
2023-02-02 14:06:15 -06:00
Zach Pomerantz
e640dccebd
test: reduce parallelization to 4 containers ( #5562 )
2022-12-07 10:37:29 -08:00
Jordan Frankfurt
cb4101e606
fix(cypress): patch to add another parallelization and make timeout longer than block time ( #5423 )
2022-11-28 20:32:30 -06:00
Zach Pomerantz
b1fd484894
test: install fixed version of yarn-deduplicate ( #5390 )
2022-11-24 12:23:56 -05:00
Zach Pomerantz
20fe76ad29
test: run tests on all PRs ( #4905 )
2022-10-13 11:38:26 -04:00
Vignesh Mohankumar
c4c6d7553d
build: only test for highest yarn-deduplicate strategy ( #4154 )
...
* build: only test for highest yarn-deduplicate strategy
* remove exclusions
2022-07-20 17:33:54 -04:00
Vignesh Mohankumar
29fdcb80f6
build: upgrade prettier to v2.7.1 ( #4109 )
...
* style: prettier based on v2.2
* 2.7.1 instead?
* npx
* ^
2022-07-14 11:28:51 -04:00
Zach Pomerantz
d05fefc231
test: enforce deps deduplication ( #4097 )
...
* build: use fewer babel versions
* build: dedup
* test: test deps dedups
* fix: test.yml
* fix: typo
* test: failing
* fix: dedup
* fix: dedup
* test: comment dedup tests
* chore: whitespace
2022-07-13 11:31:19 -04:00
Zach Pomerantz
b1c29b3bf1
build: resolve cypress matrix to single job ( #4075 )
...
* build: resolve cypress matrix to single job
* build: output on cypress-tests
* build: explicitly name matrix steps
* build: quote cypress string
* build: omit protocol
* build: test
* build: fix indentation
* build: test
* build: test
* build: test
* build: cleanup
* build: cleanup
2022-07-11 17:36:48 +02:00
Zach Pomerantz
26b37d5274
build: fix await-check-suite with ( #4021 )
...
* build: fix await-check-suites
* build: fix await-check-suite with
2022-07-01 15:12:51 -07:00
Zach Pomerantz
c48d4c5425
build: simplify actions ( #4014 )
...
* build: simplify actions
* build: add checkout
* build: fix path
* build: fix all paths
* build: missing steps
* build: update build name
* build: rename action
* build: add shell
* build: formalize lint
* build: cleanup
* build: update release
* build: comment workflows
2022-07-01 15:05:37 -07:00