diff --git a/.github/config-test.inc.php b/.github/config-test.inc.php deleted file mode 100644 index 4663fe380..000000000 --- a/.github/config-test.inc.php +++ /dev/null @@ -1,33 +0,0 @@ - skins/elastic/styles/styles.min.css -lessc --clean-css="--s1 --advanced" skins/elastic/styles/print.less > skins/elastic/styles/print.min.css -lessc --clean-css="--s1 --advanced" skins/elastic/styles/embed.less > skins/elastic/styles/embed.min.css - -# Use minified javascript files -bin/jsshrink.sh - -# Install proper WebDriver version for installed Chrome browser -php tests/Browser/install.php $CHROMEVERSION - -# GreenMail server download, setup and start -wget https://repo1.maven.org/maven2/com/icegreen/greenmail-standalone/$GMV/greenmail-standalone-$GMV.jar \ - && (sudo java $GMARGS -jar greenmail-standalone-$GMV.jar &) \ - && sleep 5 - -# Run tests -echo "\nTESTS_MODE: DESKTOP" \ -&& TESTS_MODE=desktop vendor/bin/phpunit -c tests/Browser/phpunit.xml --exclude-group=failsonga \ -&& echo "TESTS_MODE: PHONE" \ -&& TESTS_MODE=phone vendor/bin/phpunit -c tests/Browser/phpunit.xml --exclude-group=failsonga-phone \ -&& echo "TESTS_MODE: TABLET" \ -&& TESTS_MODE=tablet vendor/bin/phpunit -c tests/Browser/phpunit.xml --exclude-group=failsonga-tablet diff --git a/.github/workflows/browser_tests.yml b/.github/workflows/browser_tests.yml deleted file mode 100644 index e40c94e99..000000000 --- a/.github/workflows/browser_tests.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: browser_tests - -on: - push: - pull_request: - -jobs: - browser_tests: - runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')" - - strategy: - fail-fast: true - - name: Browser Tests - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: 8.0 - extensions: dom, curl, fileinfo, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd, ldap, intl, pspell - tools: composer:v2 - coverage: none - - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 - with: - java-version: 1.8 - - - name: Setup problem matchers - run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - - - name: Install Aspell - run: sudo apt-get -y install aspell aspell-en aspell-de - - - name: Setup composer - run: | - cp composer.json-dist composer.json - composer require "laravel/dusk:~6.9.0" --no-update - - - name: Fix PHPUnit for PHP8 - run: composer config platform.php 7.4 - - - name: Install dependencies - run: composer install --prefer-dist --no-interaction --no-progress - - - name: Roundcube configuration - run: cp .github/config-test.inc.php config/config-test.inc.php - - - name: Setup NPM - uses: actions/setup-node@v1 - with: - node-version: '12.x' - - - name: Setup NPM deps - run: | - npm install --force -g less - npm install --force -g less-plugin-clean-css - npm install --force -g uglify-js - - - name: Execute tests - run: .github/run.sh