The s is pronounced when tous means everybody (for people) or everything (all of the things for objects). Remember that when used with indefinite article DES, it also enters in this category.
TOUSS :
- Venez tous à la maison !
- Ecoutez-moi tous !
- Vous êtes tous là.
- Ils ont tous répondu.
- Je les achète tous !
- Ce sont tous des polonais
- Ce sont tous des immeubles récents
The s is muted when tous means all, and is generally followed by a plural article or pronoun.
TOU :
- J'y vais tous les jours.
- J'invite tous mes amis. (+ tes, ses, vos, nos, leurs)
- J'aime tous ces fruits.