The fact is that the pandemic will keep the pilots of this world busy for a long time to come and that the pilots are working in a particularly exposed and sensitive place where many people from different countries come together. Pilots do a systemically important job for their country and their employer and they therefore deserve special protection.
The way health and safety is handled differs from country to country and internationally there are often very different opinions on how pilots should protect themselves during COVID-19.
IMPA has done a great job in putting together the different protocols and guidelines for each country here:
Ship crews can see which rules apply in which country.
In any case, this list from IMPA is worth looking through and reading.