diff --git a/.github/workflows/test-e107.yml b/.github/workflows/test-e107.yml index 6c6897294..91dbe5f01 100644 --- a/.github/workflows/test-e107.yml +++ b/.github/workflows/test-e107.yml @@ -93,7 +93,7 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} file: ./e107_tests/tests/_output/coverage.xml - flags: unittests + flags: unit-tests name: ${{ matrix.interpreter.image }}-${{ matrix.db.image }} continue-on-error: true diff --git a/e107_tests/.gitlab-ci.yml b/e107_tests/.gitlab-ci.yml deleted file mode 100644 index 6e9cf4828..000000000 --- a/e107_tests/.gitlab-ci.yml +++ /dev/null @@ -1,54 +0,0 @@ -before_script: - - bash ./lib/ci/setup.sh - -cache: - paths: - - ./vendor/ - -variables: - MYSQL_DATABASE: app - MYSQL_ROOT_PASSWORD: 'Database Password for Continuous Integration' - -test:php5.6-mysql5.5: - services: - - mysql:5.5 - image: php:5.6 - script: "php ./vendor/bin/codecept run unit --steps --debug" - -test:php7.1-mysql5.6: - services: - - mysql:5.6 - image: php:7.1 - script: "php ./vendor/bin/codecept run unit --steps --debug --coverage --coverage-xml --coverage-html" - -test:php7.2-mysql5.7: - services: - - mysql:5.6 - image: php:7.2 - script: "php ./vendor/bin/codecept run unit --steps --debug --coverage --coverage-xml --coverage-html" - -test:php7.3-mysql8.0: - services: - - name: mysql:8.0 - command: ["mysqld", "--default-authentication-plugin=mysql_native_password"] - image: php:7.3 - script: "php ./vendor/bin/codecept run unit --steps --debug --coverage --coverage-xml --coverage-html" - artifacts: - when: always - paths: - - ./tests/_output/ - -pages: - stage: deploy - dependencies: - - test:php7.3-mysql8.0 - image: ruby:latest - before_script: [] - script: - - mv ./tests/_output/ ./public/ - when: always - artifacts: - paths: - - ./public/ - only: - - master \ No newline at end of file diff --git a/e107_tests/lib/ci/setup.sh b/e107_tests/lib/ci/setup.sh deleted file mode 100755 index ce559b960..000000000 --- a/e107_tests/lib/ci/setup.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -apt-get update -apt-get install -y git zip libzip-dev - -pecl install zip -docker-php-ext-enable zip -pecl install xdebug -docker-php-ext-enable xdebug -docker-php-ext-install pdo_mysql - -php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" -php composer-setup.php -php -r "unlink('composer-setup.php');" - -php composer.phar install -php composer.phar update - -git submodule update --init --recursive --remote - -cp ./lib/ci/config.ci.yml ./config.yml \ No newline at end of file