Wal-Mart Stores Inc. said Friday that it will test its grocery delivery service with ride-sharing services Uber Technologies Inc. and Lyft Inc. within the next two weeks in Denver and Phoenix. The move is part of the retailer’s efforts to better compete with online retail giant Amazon.com Inc.