Michael Telatynski
6c64f564e4
Naive attempt at improving our end-to-end tests in Github Actions
5 years ago
Michael Telatynski
958d4df957
Naive attempt at improving our end-to-end tests in Github Actions
5 years ago
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
5 years ago
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
5 years ago
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
6 years ago
Travis Ralston
6d46ef548e
Enable tests again to catch failures
6 years ago
Travis Ralston
3614170906
Disable scripts in CI too
6 years ago
Travis Ralston
22533d3e6a
Disable scripts in CI too
6 years ago
David Baker
544e2c9971
Don't use buildkite agent to upload logs
6 years ago
Travis Ralston
3b2f96bc04
Try explicitly mapping the directory
6 years ago
Travis Ralston
776b3af6bb
Fix relative pathing on riot-web link
6 years ago
Travis Ralston
19615d3721
Disable minification of Riot in end-to-end tests
6 years ago
Travis Ralston
27412ba0b2
Fix end-to-end test layering too
6 years ago
David Baker
2970a9faaf
Don't fail if logs exists and is an empty dir
6 years ago
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.
6 years ago
David Baker
c36950db23
Make CI scripts executable
...
and remove chmod line from pipeline
6 years ago
Bruno Windels
b03ebb964b
split up installing static webserver and riot copy
...
so we can just do the latter for the e2e tests on CI
6 years ago
Bruno Windels
645a9d836f
install static webserver for server symlinked riot on CI
6 years ago
Bruno Windels
5b9bfae320
first attempt at running local e2e tests from CI
6 years ago
Bruno Windels
f5f89ee4e3
move package installation to docker image to avoid on every run
7 years ago
Bruno Windels
57092eeb4f
add buildkite sections
7 years ago
Bruno Windels
7dde322ce2
only need to invoke artifact tool once
7 years ago
Bruno Windels
64f123563b
upload separate log files
7 years ago
Bruno Windels
6a4a443c26
attempt at uploading logs as artefacts
7 years ago
Bruno Windels
5802a1d9eb
also show test logs
7 years ago
Bruno Windels
309d2ead8f
dump server log after running tests
7 years ago
Bruno Windels
addafe224f
need to disable sandbox because ci tests run as root and puppeteer wont let you do stupid stuff by accident
7 years ago
Bruno Windels
4eeaf05e81
no sandbox didn't work, lets try installing a gazilion deps from the puppeteer page
7 years ago
Bruno Windels
af0dee0d65
disable sandbox to run under debian
7 years ago
Bruno Windels
711974a6df
remove obsolete --travis flag
7 years ago
Travis Ralston
618b2b1ae6
Add basic BuildKite :pipeline:
7 years ago
J. Ryan Stinnett
7c947d87ab
Update scripts and docs to use `yarn` where appropriate
...
Most `npm` operations are replaced with `yarn`, which generally has better
behavior. However, steps like publish that write to the NPM registry are left to
`npm`, which currently handles these tasks best.
7 years ago
Bruno Windels
481cd292ad
make e2e tests job conditional at travis.yml level
7 years ago
Bruno Windels
5ce08523f8
split up script for unit and end-to-end tests so unit tests are not run as part of e2e tests
7 years ago
Erik Johnston
ab468b5346
Refactor travis-ci to use parallel jobs
7 years ago
Travis Ralston
310f634a0d
Ensure we install the master branch of the e2e tests as a default
7 years ago
Travis Ralston
df89d973a0
Fetch matching e2e-test branch
7 years ago
Bruno Windels
8a08180187
only run e2e tests on prs targeted on develop
7 years ago
Bruno Windels
206ad3159c
disable e2e tests for PRs targeted at experimental (redesign)
7 years ago
Bruno Windels
8d9850b7e7
pass --travis flag to e2e tests to disable tests known not to work on travis CI because of dinosaur ubuntu version
7 years ago
Bruno Windels
e2695fb467
now the ci scripts are merged in the test repo, change the branch to fetch them from to master
8 years ago
Bruno Windels
6f60b68ac7
Puppeteer does need it's own chrome after all
...
The stable chrome travis provides is not supported.
8 years ago
Bruno Windels
93f51eb6ce
force running scripts in bash, as it's not the default shell on Ubuntu (which is what Travis runs)
8 years ago
Bruno Windels
e08e09df9a
pass location of google-chrome-stable to e2e test runner
8 years ago
Bruno Windels
0ee72a2972
disable tests for now to speed up trying stuff out, run the build as well
8 years ago
Bruno Windels
fd5193b9f4
try to run e2e tests in travis
8 years ago
David Baker
730512bc3f
Use the right js-sdk branch when testing
...
On the react-sdk tests not just riot-web
8 years ago
Richard van der Hoff
458e0a38bc
Run the riot-web tests against js-sdk develop
...
When running the riot-web builds, use the develop version of js-sdk instead of
the latest release, to improve our chances of compatibility.
9 years ago
David Baker
52d3dd4de9
cd first so we checkout the right repo
9 years ago
David Baker
c5a873c316
Remove depth=1 otherwise we won't find the branch
9 years ago