testmon.net keeps the data for you. Every job, branch and pull request gets the selection for its own checkout, from the results of all the others.

-x a failing run stops early.Sign up to get an API key for your project. Put it in the environment of the CI job (as a secret):
TMNET_API_KEY=<your key> pytest --tmnet
or in your pytest configuration:
# pytest.ini
[pytest]
tmnet_api_key = projectname_b0f74c20b0684cf19a51bbec6fae63bb
# pyproject.toml
[tool.pytest.ini_options]
tmnet_api_key = "projectname_b0f74c20b0684cf19a51bbec6fae63bb"
If both are set, the environment variable wins and pytest warns when the two
differ. An empty TMNET_API_KEY counts as unset.
--tmnet implies --testmon and takes the same options: --testmon-noselect,
--testmon-forceselect, --testmon-nocollect and --testmon-env work as they
do locally. Only the storage changes, from .testmondata to testmon.net. If
testmon.net cannot be reached, the run falls back to the local .testmondata.
We’ll prepare the pull request and start with nothing deselected, so you can check the selection before you rely on it. Sign up and we’ll get in touch.