CI code has been copied from integration tests