I see no point in spending time with pieces I don't like. I did that in my teens, and it made me dislike piano practice. I hated Bach. (Today I don't ...

)
But you know: boredom = lack of motivation. You cannot see the point in why you play this, even if some Authority tells you that it is "good" for you.
Instead I say: play what you really love, and during learning and practicing of this music, you may suddenly find that you need to exercise something a bit more, and then you search for material that will help you. And so you will start playing those "boring" pieces as you know exactly why you do it - and then you will find that they are not boring at all, as you now are properly motivated.
For example, there was a time when I dutifully started my practice sessions with a number of scales and other fundamental exercises ... I played a lot of them, it did not sound good, I stopped listen to myself, I started to think of something else, I got tired ... I got other things to do, as I always have had a life outside piano playing as well. So at the end I had spent a lot of time doing useless exercises + three minutes of what I really should be learning. Needless to say that this approach took me nowhere?
Today I concentrate on what I really want to learn, and I deal with that. Sometimes I find that some scales or other exercises would be fine; then I do them. At the moment I practice a piece which contains a rather long chromatic scale, and I need to work separately with that chromatic scale in order to get it fast and even - fine, so I work with that one. But I know what to use it for, and so it is not boring.