scrape through
Intermediate (B1)informal
To pass something like a test or hard situation, but only just — almost failing.
"He scraped through his chemistry exam with just two marks above the pass mark."
Hear it in context

"CONTROVERSIAL 6-POINTER!" | WE ARE YANITED #S2E24
angryginge13 · 37:26
Whitton United managed to scrape through that game.

This Homesteading Family of 7 Grows Food on SOLID ROCK!
Anne of All Trades · 6:36
So, I just put it down and scrape through.

The Man Who Loves Weather (with Dan Harris) - Numberphile Podcast
Numberphile2 · 21:49
But I did I did enough to scrape through the third year.