Lawmakers are facing a Friday deadline to pass a spending bill to avert a partial government shutdown.