Pupils and staff at a school caught up in the RAAC crisis have won praise from inspectors for their resilience during difficult times.