Exclude patterns

The exclude patterns issue doesn’t help me exclude coverage and issue files. They keep failing and affecting my metrics. How can I fix this?