For the flight out you need to check the requirements for Canary Islands, for the flight back you must comply with [Scottish requirements](https://www.gov.scot/publications/coronavirus-covid-19-international-travel-quarantine/).
Sites like [John Sherpa](https://apply.joinsherpa.com/travel-restrictions) can help too.