| 1 |
--- |
| 2 |
# SPDX-License-Identifier: AGPL-3.0-or-later |
| 3 |
|
| 4 |
.run-functional-tests: |
| 5 |
stage: functional-tests |
| 6 |
needs: [] |
| 7 |
dependencies: [] |
| 8 |
tags: |
| 9 |
- functional-tests |
| 10 |
timeout: 10h |
| 11 |
# Need to find another way of running the cleanup step even on failure |
| 12 |
allow_failure: true |
| 13 |
except: |
| 14 |
- $GITLAB_USER_LOGIN == "weblate" |
| 15 |
before_script: |
| 16 |
- apt-get update |
| 17 |
- apt-get -y install make |
| 18 |
- make provision-dev |
| 19 |
- make wait-while-first-setup |
| 20 |
script: |
| 21 |
- FREDOMBOX_URL=https://localhost FREEDOMBOX_SSH_PORT=22 FREEDOMBOX_SAMBA_PORT=445 pytest -v --durations=10 --include-functional --splinter-headless --instafail --template=html1/index.html --report=functional-tests.html |
| 22 |
artifacts: |
| 23 |
when: always |
| 24 |
paths: |
| 25 |
- functional-tests.html |
| 26 |
- screenshots/ |
| 27 |
- plinth.log |