kiesraad / abacus

Abacus, software voor verkiezingsuitslagen en zetelverdeling
https://kiesraad-abacus.pages.dev
European Union Public License 1.2
19 stars 6 forks source link

speed up Playwright tests in pipeline #606

Closed jschuurk-kr closed 1 day ago

jschuurk-kr commented 4 days ago

Scope:

About sharding Because we tests against three browsers and use three shards, each shard now covers one browser. We could not use shards (yet) and create a separate job for each browser. At some later point we could then shard each of the browser jobs. I didn't see an advantage to doing it that way. And the current way makes it really easy to add a shard, i.e. add a number to shard: [1, 2, 3].

About caching I tried installing and chaching node modules and browser engines in a job. There's several issues with this:

So caching node modules and browser engines is not worth it.


Main branch: image

This branch: image

jschuurk-kr commented 4 days ago

Options for the missing WebKit dependencies: