The House of Representatives passed a continuing resolution that would keep the government running through February, but the bill faces an uncertain fate in the Senate.