forked from downtownallday/mailinabox-ldap
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 1.35 KB
/
commit-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: commit-tests
on: [push]
jobs:
# MiaB-LDAP connected to a remote Nextcloud
remote-nextcloud-docker:
runs-on: ubuntu-18.04
env:
PRIMARY_HOSTNAME: box1.abc.com
FEATURE_MUNIN: false
# github specific: php-xsl is a virtual package provided by php-xml
PHP_XSL_PACKAGE: php-xml
steps:
- uses: actions/checkout@v2
# the github image comes preinstalled with multiple php versions
# and it sets the system php to the latest version. MIAB requires
# php 7.2 (the default on a new ubuntu 18 install)
- run: sudo update-alternatives --set php /usr/bin/php7.2
- name: setup
run: sudo -E tests/system-setup/remote-nextcloud-docker.sh upgrade basic
- name: test-runner
run: sudo -E tests/runner.sh -dumpoutput -no-smtp-remote default remote-nextcloud upgrade-basic
# Upgrade from upstream install
upgrade-from-upstream:
runs-on: ubuntu-18.04
env:
PRIMARY_HOSTNAME: box2.abc.com
UPSTREAM_TAG: main
PHP_XSL_PACKAGE: php-xml
steps:
- uses: actions/checkout@v2
- run: sudo update-alternatives --set php /usr/bin/php7.2
- name: setup
run: sudo -E tests/system-setup/upgrade-from-upstream.sh basic totpuser
- name: test-runner
run: sudo -E tests/runner.sh -dumpoutput -no-smtp-remote upgrade-basic upgrade-totpuser default