WASHINGTON—Supreme Court Justice Ruth Bader Ginsburg completed a three-week course of radiation for a malignant tumor on her pancreas, which was “treated definitively,” the court said on Friday.

The justice will continue to have periodic medical tests but needs no further treatment, and there is “no evidence of disease elsewhere in the body,” the court said.

The...