I find yarrow likes full sun, and can certainly take the heat, but in my area it needs lots of water to keep it alive. Too dry here with almost 6 months no rain usually..It should not be a problem I think in your area. If it is a young plant, it will have to be watered a little more often first year to be established and use porous, well draining soil.
I almost killed mine, thinking it is drought tolerant right away so it should survive well the way I water my other succulents. A sudden rain later showed me that it likes more water and I have been underwatering it after all. Then my next mistake, I should have deadheaded it after blooming so it can reallocate resources to grow again. Now that I knew about it, it has slowly returned.