Coverings, partitions and quasi-modular forms