firefox-translations-training icon indicating copy to clipboard operation
firefox-translations-training copied to clipboard

Add a `binaries` marker to pytests

Open gregtatum opened this issue 10 months ago • 0 comments

We have tests that require external binaries like Marian and others. These are all available in our local Docker images. However this image is quite slow on non-x86 systems. In this case it would be nice to mark tests that are requiring external binaries.

We can do this through pytest markers:

https://docs.pytest.org/en/7.1.x/example/markers.html

@pytest.mark.binaries

Then you can run them using -m "not binaries".

gregtatum avatar Apr 01 '24 21:04 gregtatum