diff options
author | Mario <mario@mariovavti.com> | 2020-11-26 11:20:16 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-26 11:20:16 +0000 |
commit | 188975ccbd3a9c584238c35dd8c5a8fda7718199 (patch) | |
tree | e1abba8686a86736b28e222a40072e66e0a1f36a | |
parent | 5e1addc75e73e84254e820fc67dba057a8728db6 (diff) | |
download | volse-hubzilla-188975ccbd3a9c584238c35dd8c5a8fda7718199.tar.gz volse-hubzilla-188975ccbd3a9c584238c35dd8c5a8fda7718199.tar.bz2 volse-hubzilla-188975ccbd3a9c584238c35dd8c5a8fda7718199.zip |
update gitlab-ci
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d5477d8f2..9578ec6b1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,7 +50,7 @@ before_script: - echo "USE $MYSQL_DATABASE; $(cat ./install/schema_mysql.sql)" | mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql "$MYSQL_DATABASE" - echo "SHOW DATABASES;" | mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql "$MYSQL_DATABASE" - echo "USE $MYSQL_DATABASE; SHOW TABLES;" | mysql --user=root --password="$MYSQL_ROOT_PASSWORD" --host=mysql "$MYSQL_DATABASE" - - vendor/bin/phpunit --configuration Tests/phpunit.xml --coverage-text + - vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-text # hidden job definition with template for PostgreSQL .job_template_postgres: &job_definition_postgres @@ -67,7 +67,7 @@ before_script: #- psql -h "postgres" -U "$POSTGRES_USER" -l #- psql -h "postgres" -U "$POSTGRES_USER" -d "$POSTGRES_DB" -c "\dt;" # Run the actual tests - - vendor/bin/phpunit --configuration Tests/phpunit-pgsql.xml --testdox + - vendor/bin/phpunit --configuration tests/phpunit-pgsql.xml --testdox # hidden job definition with artifacts config template .artifacts_template: @@ -75,11 +75,11 @@ before_script: expire_in: 1 week # Gitlab should show the results, but has problems parsing PHPUnit's junit file. reports: - junit: Tests/results/junit.xml + junit: tests/results/junit.xml # Archive test results (coverage, testdox, junit) name: "$CI_COMMIT_REF_SLUG-$CI_JOB_NAME" paths: - - Tests/results/ + - tests/results/ # PHP7.3 with MySQL 5.7 |