See https://pypi.org/project/pytest-xdist/ .
The github runner has 2 cores so we could possibly cut down the job time by half.
The CI time is not a big issue atm, but it will become one after we start running tests like #365 .
The pytest version we use is also outdated, so we need to
- Use latest pytest
- Use the xdist plugin