Commit Graph

59 Commits

Author SHA1 Message Date
Timo K d37c064df3 custom container does not work for playwright tests 2026-05-11 20:01:18 +02:00
Timo K 34486e6486 use container to skip playwright install 2026-05-11 19:57:36 +02:00
Timo K ded6e4c1a0 fix tests dep optimization issues 2026-05-11 19:50:32 +02:00
Timo K 5bdbd80f37 try storybook only 2026-05-11 19:29:07 +02:00
Timo K 4f28bac749 without playwright container 2026-05-11 19:18:10 +02:00
Timo K 88f14ffcde try with playwirght container 2026-05-11 18:56:52 +02:00
Timo K bc2be4dfab test in CI 2026-05-11 18:44:16 +02:00
Timo K 53626785b3 install playwright for unit tests 2026-05-11 18:22:58 +02:00
Timo K 8728676eb6 update CI to ignore pnpmfile
- This is save since we never run pnpmfiles in ci
 - We can still run it locally
 - It helps us detect if we accidently commit it anyways.
2026-04-21 16:10:45 +02:00
fkwp 17ad20cd09 switching from yarn to pnpm 2026-04-17 11:07:31 +02:00
Valere 29ba0bdf13 make zizmore happy with exact version in comment 2026-04-15 14:13:58 +02:00
Valere 0350f57275 fixup: Looks like the upload & download action used are not compatible 2026-04-15 14:01:26 +02:00
Valere 0f14da7fbb devx: Use new action to netlify the playwright report as EW is doing 2026-04-09 16:33:26 +02:00
renovate[bot] 99ba23bc96 Update GitHub Actions (#3831)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-01 17:33:25 +02:00
fkwp 41f7b643fb Add zizmor checks on CI (#3792)
* zizmor auto fixes

* add github action for security analysis with zizmor

* add access token to iOS push action
2026-03-11 14:20:05 +01:00
renovate[bot] 789de1963a Update GitHub Actions (#3711)
Build / build_sdk_element_call (push) Failing after 3m49s
Test / Run unit tests (push) Failing after 4m14s
Test / Run end-to-end tests (push) Failing after 7m21s
Build / deploy_develop (push) Has been skipped
Build / docker_for_develop (push) Has been skipped
Build & publish embedded packages for releases / build_element_call (push) Failing after 3m39s
Build & publish embedded packages for releases / Publish tarball (push) Failing after 1m41s
Build & publish embedded packages for releases / Publish SwiftPM Library (push) Failing after 1m14s
Build & publish embedded packages for releases / Update release notes (push) Successful in 1m7s
Build / build_embedded_element_call (push) Failing after 3m52s
Build / build_full_element_call (push) Failing after 4m53s
Build & publish embedded packages for releases / Versioning (push) Successful in 1m14s
Build & publish embedded packages for releases / Publish NPM (push) Failing after 1m27s
Build & publish embedded packages for releases / Publish Android AAR (push) Failing after 2m5s
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-17 16:01:46 +01:00
renovate[bot] 04bbf83ac5 Update GitHub Actions 2025-12-01 11:00:52 +00:00
Valere 301cf2f4eb Revert "CI try without USE_DOCKER"
This reverts commit d52656c553.
2025-10-23 16:26:02 +02:00
Valere d52656c553 CI try without USE_DOCKER 2025-10-23 16:07:04 +02:00
Valere 0823936ee1 revert CI test changes 2025-10-23 16:05:24 +02:00
Valere 150cdf64c8 CI try some more logs 2025-10-23 15:55:22 +02:00
Valere a638acde2c CI: Increase job timeout 2025-10-23 13:41:08 +02:00
renovate[bot] f08805d3ed Update GitHub Actions 2025-10-07 05:31:36 +00:00
Andrew Ferrazzutti 13fac57b01 Build Docker image on slim base (#3204)
* Build Docker image on slim base

* Run Playwright tests against Docker container

For Playwright end-to-end tests in CI, instead of running a development
webserver with `yarn dev`, build and deploy a Docker container for
Element Call and use that as the webserver to test against.

* Shut down playwright webserver gracefully

When using a containerized webserver, this stops the container once
tests finish.

* Increase Playwright timeout in CI

---------

Co-authored-by: fkwp <github-fkwp@w4ve.de>
2025-06-06 12:04:57 -04:00
fkwp ebc714b73f force to pull the latest docker images 2025-05-27 20:06:28 +02:00
fkwp 8953936d3d fix docker compose playwright override 2025-05-27 17:53:06 +02:00
renovate[bot] da2ce68348 Update GitHub Actions 2025-05-15 23:01:56 +00:00
renovate[bot] e7086ff8fc Pin dependencies 2025-04-01 02:20:37 +00:00
Hugh Nimmo-Smith ff6365cfed One more --immutable 2025-03-21 17:19:34 +00:00
Hugh Nimmo-Smith f820506184 Fix up CI 2025-03-21 17:17:23 +00:00
Hugh Nimmo-Smith 9bf046b714 Merge branch 'livekit' into robin/berry 2025-03-21 17:14:10 +00:00
Robin f2ff1919cb Move all tests into one workflow, give them clear names
The Playwright tests had no name before, making it confusing to add them to the branch protection requirements.
2025-03-18 13:48:52 -04:00
Robin 31fb916b9d Enable CI to use Yarn Berry 2025-03-14 03:23:37 -04:00
renovate[bot] 8aa95d1ddd Update GitHub Actions 2025-03-03 15:54:20 +00:00
Hugh Nimmo-Smith 4fc7fbe8fe Use --frozen-lockfile when install deps in CI (#2992) 2025-02-05 17:28:52 +01:00
renovate[bot] 50d30809ef Update codecov/codecov-action action to v5 (#2933)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-08 09:26:00 +00:00
Hugh Nimmo-Smith 4fab1a25b4 Use specific Node.js version (22) instead of latest LTS (#2879)
This way we can manage the upgrade cycle ourselves.
2024-12-06 18:15:49 +00:00
renovate[bot] 05b06ce3e2 Update GitHub Actions 2024-11-01 01:16:40 +00:00
renovate[bot] 8fcdfdf5e6 Update GitHub Actions 2024-10-09 10:02:22 +00:00
renovate[bot] a9d63c577d Update GitHub Actions 2024-10-04 07:06:17 +00:00
renovate[bot] cd1bdb66bb Update GitHub Actions 2024-09-27 21:30:48 +00:00
Robin 7bca541cb6 Perform dead code analysis with Knip (#2575)
* Install Knip

* Clarify an import that was confusing Knip

* Fix issues detected by Knip

Including cleaning up some unused code and dependencies, using a React hook that we unintentionally stopped using, and also adding some previously undeclared dependencies.

* Run dead code analysis in lint script and CI

---------

Co-authored-by: Timo <toger5@hotmail.de>
2024-08-28 02:06:57 +02:00
fkwp 6521c8055c set codecov token from secrets 2024-08-27 21:22:16 +02:00
Robin 5eaabcf74d Clean up our tests in preparation for the testing sprint (#2466)
* Fix coverage reporting

Codecov hasn't been working recently because Vitest doesn't report coverage by default.

* Suppress some noisy log lines

Closes https://github.com/element-hq/element-call/issues/686

* Store test files alongside source files

This way we benefit from not having to maintain the same directory structure twice, and our linters etc. will actually lint test files by default.

* Stop using Vitest globals

Vitest provides globals primarily to make the transition from Jest more smooth. But importing its functions explicitly is considered a better pattern, and we have so few tests right now that it's trivial to migrate them all.

* Remove Storybook directory

We no longer use Storybook.

* Configure Codecov

Add a coverage gate for all new changes and disable its comments.

* upgrade vitest

---------

Co-authored-by: Timo <toger5@hotmail.de>
2024-08-27 15:45:39 +02:00
renovate[bot] 6abd1fbca1 Update GitHub Actions 2024-08-01 01:04:00 +00:00
Robin 509bb4f1b0 Use LTS Node in CI 2024-07-24 11:12:36 -04:00
renovate[bot] afd4fdcea2 Pin dependencies 2024-06-21 13:21:08 +00:00
Angel Mendez 3bd69e26ad chore: specify test type on git workflow
specify job run unit tests

Co-authored-by: Robin <robin@robin.town>
2024-02-15 17:37:50 -06:00
Angel Mendez Cano 0aacac3def chore: replace jest job with vitest
- update job id and name
2024-02-09 11:07:43 -06:00
renovate[bot] 1233c6fc7b Update codecov/codecov-action action to v4 2024-02-01 10:59:26 +00:00