Article content OTTAWA  The federal government ran a deficit of $12.7 billion over the first eight months of its 2016-17 fiscal year  compared with a $1-billion surplus during the same period a year earlier.