Definitely keep the boarding passes until your flts are credited to your account. I have flown on AS as a DL codeshare and the miles posted the next day. Also flown with SkyTeam partners and all the miles posted properly. Usually it works well but sometimes there are glitches. That's why the BP's are so important.