Michael Telatynski
eaff7e945c
Consolidate js-sdk release mode typing CI ( #9326 )
2022-09-30 17:12:16 +01:00
Michael Telatynski
f566c600e2
Port remaining Puppeteer tests over to Cypress ( #9104 )
...
* Port remaining Puppeteer tests over to Cypress
* Remove puppeteer support files
* Fix lifecycle matrixclientpeg setup race condition
* Alternative solution to the lifecycle problem
* Dismiss the notifications toast
2022-07-29 14:03:25 +00:00
Michael Telatynski
8036985204
Update matrix-analytics-events to @matrix-org/analytics-events ( #8778 )
...
* Update matrix-analytics-events to @matrix-org/analytics-events
* Update install-deps.sh
* Update layered.sh
* Update BeaconMarker-test.tsx.snap
* Update BeaconStatus-test.tsx.snap
2022-06-07 20:08:36 +01:00
Travis Ralston
a6564d9ab9
Step 14: Remove reskindex
2022-03-28 15:30:30 -06:00
David Baker
1eb67047c9
Add some doc to the github actions / CI scripts ( #8034 )
...
* Add some doc to the githuib actions / CI scripts
Type: task
* alalytics-events is more name matching
2022-03-11 13:00:56 +00:00
Michael Telatynski
8dd0722e04
Update eventName=Screen to $screen to match PostHog's special behaviour ( #7667 )
2022-02-01 15:49:49 +00:00
James Salter
d4813f7a1a
Convert end-to-end tests to Typescript ( #7206 )
2021-12-06 09:59:06 +11:00
David Baker
47fd11050f
Switch type check to GitHub Actions
...
and add (working) type check for release mode js-sdk types
2021-09-08 11:43:46 +01:00
David Baker
a2f581a7ef
Add CI script to switch the js-sdk into 'release mode'
...
So we can check the types still work against a released js-sdk
2021-07-15 13:53:41 +01:00
Germain Souquet
5fb7dbee3e
Do not generate a lockfile when running in CI
2021-07-07 16:11:47 +02:00
Germain Souquet
b492072e76
add required dependency in Docker image for puppeteer
2021-06-25 15:01:28 +01:00
Michael Telatynski
6c64f564e4
Naive attempt at improving our end-to-end tests in Github Actions
2021-06-21 09:14:44 +01:00
Michael Telatynski
4ff25c5978
Add jq to e2e tests Dockerfile
2021-06-18 19:16:39 +01:00
J. Ryan Stinnett
5b2f915ee9
Move to newer base image for end-to-end tests
...
This updates to Node 14 (current LTS) as well as moving from Debian Stretch to
Buster for the base OS. The Debian upgrade brings along a newer Python 3.8,
which is actively supported.
Fixes https://github.com/vector-im/element-web/issues/16272
2021-01-25 12:32:37 +00:00
J. Ryan Stinnett
e90e51cc9b
React SDK needs to build the component index
2020-12-18 15:13:09 +00:00
J. Ryan Stinnett
50427786f9
Cloned deps do not need any building now
2020-12-18 15:11:55 +00:00
J. Ryan Stinnett
19cfe44b16
Types from dependencies are now built explicitly
2020-12-18 11:59:30 +00:00
J. Ryan Stinnett
3d3490c6d7
For cloned deps, we only need to build types
2020-12-18 11:59:30 +00:00
J. Ryan Stinnett
c63c8540f1
Remove old app test script path
...
Now that https://github.com/matrix-org/pipelines/pull/112 has merged, we no
longer need to support this old path for launching app-level tests.
2020-12-04 11:05:05 +00:00
J. Ryan Stinnett
883d5d96a7
Nest other layers inside on automation
...
This changes the nesting style because some CI / CD systems do not allow moving
to a directory above the checkout for the primary repo (`react-sdk` in this
case).
Part of https://github.com/vector-im/element-web/issues/12624
2020-12-03 16:21:40 +00:00
J. Ryan Stinnett
a6e69db8f5
Rebrand E2E test Docker image
2020-12-03 14:56:24 +00:00
J. Ryan Stinnett
cdc57cf1f5
Add temporary symlink for pipeline
2020-12-03 13:58:25 +00:00
J. Ryan Stinnett
1fda735222
Rebrand various CI scripts and modules
...
This replaces Riot with Element in various CI scripts, modules, parameters, etc.
This _should_ be the last major rebranding pass (hopefully).
Fixes https://github.com/vector-im/element-web/issues/14894
2020-12-03 13:56:27 +00:00
J. Ryan Stinnett
ce226ab534
Replace Riot with Element in docs and comments
...
This only covers the simple cases of references to issues and repos. More
complex areas, such as deployment scripts, will be handled separately.
Part of https://github.com/vector-im/element-web/issues/14864
2020-08-03 18:33:36 +01:00
Travis Ralston
6d46ef548e
Enable tests again to catch failures
2020-04-16 16:26:29 -06:00
Travis Ralston
3614170906
Disable scripts in CI too
2020-04-16 12:47:25 -06:00
David Baker
544e2c9971
Don't use buildkite agent to upload logs
2020-03-18 20:56:02 +00:00
David Baker
57ee99d6f7
chmod
2020-01-24 14:30:41 +00:00
David Baker
5536384866
Do less unnecessary work on CI
...
We were checking out & installing the develop js-sdk explicitly
in cases where we didn't need it at all. We were babeling the src
folder many, many times over (in some cases twice in the same job)
and never using the output at all.
2020-01-24 14:21:28 +00:00
Travis Ralston
33220c2d72
Ensure generated files are present for riot-web tests
2020-01-21 10:53:17 -07:00
Travis Ralston
3b2f96bc04
Try explicitly mapping the directory
2020-01-20 18:02:54 -07:00
Travis Ralston
776b3af6bb
Fix relative pathing on riot-web link
2020-01-20 16:33:22 -07:00
Travis Ralston
19615d3721
Disable minification of Riot in end-to-end tests
2020-01-20 16:33:13 -07:00
Travis Ralston
27412ba0b2
Fix end-to-end test layering too
2020-01-20 16:23:33 -07:00
Travis Ralston
3eeeb9c6af
Remove irrelevant build steps
2020-01-20 16:20:02 -07:00
Travis Ralston
62b1dd77a6
Fix layering of the riot-web tests pipeline
2020-01-20 16:12:59 -07:00
Travis Ralston
8f37f8638d
Build the js-sdk for Jest tests
...
This is theoretically a fix for the tests failing post-sourcemaps.
2020-01-15 10:28:27 -07:00
Travis Ralston
a8c8406ac4
Merge remote-tracking branch 'origin/t3chguy/jest' into travis/sourcemaps
2020-01-09 16:06:46 -07:00
David Baker
2970a9faaf
Don't fail if logs exists and is an empty dir
2020-01-03 15:16:02 +00:00
Michael Telatynski
386d6ec055
we don't need to install riot-web for react-sdk unit tests
2019-12-17 12:16:40 +00:00
David Baker
604745de96
Merge pull request #3698 from matrix-org/dbkr/chmod_ci
...
Make CI scripts executable
2019-12-05 11:39:58 +00:00
David Baker
c44cfff7cf
Remove logs before running end-to-end tests
...
Hopefully will stop the end-to-end tests failing when buildkite
re-uses an agent.
2019-12-04 11:17:41 +00:00
David Baker
c36950db23
Make CI scripts executable
...
and remove chmod line from pipeline
2019-12-04 10:30:37 +00:00
Bruno Windels
b03ebb964b
split up installing static webserver and riot copy
...
so we can just do the latter for the e2e tests on CI
2019-10-18 17:18:18 +02:00
Bruno Windels
645a9d836f
install static webserver for server symlinked riot on CI
2019-10-10 11:40:04 +02:00
Bruno Windels
5b9bfae320
first attempt at running local e2e tests from CI
2019-10-09 17:03:01 +02:00
Bruno Windels
f5f89ee4e3
move package installation to docker image to avoid on every run
2019-04-09 17:56:03 +02:00
Bruno Windels
57092eeb4f
add buildkite sections
2019-04-09 17:27:49 +02:00
Bruno Windels
7dde322ce2
only need to invoke artifact tool once
2019-04-09 17:19:29 +02:00
Bruno Windels
64f123563b
upload separate log files
2019-04-09 17:16:39 +02:00