Earnings reports from the two major retailers will show how shoppers are holding up in an era of persistent inflation.