Relative Content

Tag Archive for jestjsgitlabgitlab-civitevitest

How to run Vitest tests parallel in Gitlab with multiple jobs

Our unit tests currently run in a single job on Gitlab. We are using React Vitest (800+ tests) but the job takes way to much time for our liking (7+ min). I saw that you can run multiple jobs in parallel in Gitlab. Anyone an idea on how to make a unit test parallel job in Gitlab that would devide our Vitest tests into smaller pieces and run them parallel?