Pulse basil, spinach, Parmesan, garlic, salt, and pepper in a food processor or blender, and slowly drizzle in olive oil.
Pulse and scrape down the sides as needed to ensure all ingredients are thoroughly incorporated. Continuing incorporating olive oil until you reach the desired consistency.