Integration tests
Requirements:
- Ansible
- Docker
- Python Docker SDK
- Make
From project root directory simply run make fullround
.
It will execute the playbook tests/integration/targets/localhost.yml
.
It is a playbook with 4 Plays.
- start official nextcloud docker container
- prepare apache to work with ssl (requires by passwords app)
- install passwords app
- run integration tests against the container
- stops and removes the container
Development
Basically it is alawys used current ansible version, current nextcloud version and current python3 version.
Mainly passwords app requires always an up to date nextcloud version.
The file
module might work with almost any nextcloud version.