mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-02 09:14:50 +02:00
fix php target of stable24 tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
73a3a49cee
commit
4a43fb2ca3
|
@ -42,11 +42,11 @@ clone:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: integration-tests-stable24
|
- name: integration-tests-stable24
|
||||||
image: ghcr.io/nextcloud/continuous-integration-user_saml_shibboleth-php7.3:latest
|
image: ghcr.io/nextcloud/continuous-integration-user_saml_shibboleth-php8.0:latest
|
||||||
environment:
|
environment:
|
||||||
CORE_BRANCH: stable24
|
CORE_BRANCH: stable24
|
||||||
commands:
|
commands:
|
||||||
- /start.sh &
|
- /start.sh
|
||||||
- /wait-for-services.sh
|
- /wait-for-services.sh
|
||||||
- rm -rf /var/www/html
|
- rm -rf /var/www/html
|
||||||
- cd /var/www/
|
- cd /var/www/
|
||||||
|
@ -54,9 +54,10 @@ steps:
|
||||||
- cd /var/www/html && git submodule update --init
|
- cd /var/www/html && git submodule update --init
|
||||||
# use local clone
|
# use local clone
|
||||||
- cp -r /drone/src /var/www/html/apps/user_saml
|
- cp -r /drone/src /var/www/html/apps/user_saml
|
||||||
- scl enable rh-php73 "bash -c 'php /var/www/html/occ maintenance:install --database sqlite --admin-pass password; php /var/www/html/occ app:enable user_saml'"
|
- php /var/www/html/occ maintenance:install --database sqlite --admin-pass password
|
||||||
|
- php /var/www/html/occ app:enable user_saml
|
||||||
- chown -R apache:apache /var/www/html/
|
- chown -R apache:apache /var/www/html/
|
||||||
- scl enable rh-php73 "bash -c 'cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat'"
|
- cd /var/www/html/apps/user_saml/tests/integration && vendor/bin/behat
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|
Loading…
Reference in a new issue