Commit Graph

17 Commits

Author SHA1 Message Date
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
renovate[bot]
456ed6656a
Update actions/setup-node action to v4 2023-10-23 16:19:30 +00:00
renovate[bot]
365f81a5f7
Update actions/checkout action to v4 2023-09-19 09:24:34 +00:00
Michael Kaye
de558fa0d2
Merge pull request #1160 from vector-im/michaelk/add_codecov_to_livekit
Commit codecov.io coverage workflow to livekit branch
2023-06-28 08:40:06 +01:00
Michael Kaye
11733784a6 Fix typo in github action config. 2023-06-27 16:40:19 +01:00
Michael Kaye
cd4e5d3543 Push code coverage percentages to codecov.io. 2023-06-27 16:40:19 +01:00
Michael Kaye
6ec2e3cd62 Test on both livekit and full-mesh branches 2023-06-27 09:04:40 +01:00
Michael Kaye
c677d13845 primary branch is now livekit, not main 2023-06-27 09:04:40 +01:00
Michael Kaye
7e345c6a6f Run tests, for codecoverage after push to main
This allows us to generate a regular baseline to compare upcoming push requests against.
2023-06-27 09:04:40 +01:00
Šimon Brandner
e909ff5ad0
Add jest workflow
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-10-26 13:21:12 +02:00