1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-04 00:17:06 +00:00

add upgrade-from-upstream job

This commit is contained in:
downtownallday 2021-08-23 15:00:31 -04:00
parent c29eb2fb23
commit 2a9fcd7101

View File

@ -20,3 +20,20 @@ jobs:
- 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
- run: sudo apt-get install -y php-xml
- 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