Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2021-07-05 22:52:41 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2021-07-05 22:52:41 +0300
commit58351b861c7ef6d0a7aa63d76e4b0506dd18393d (patch)
treeb750f9851edd2a3772566f17a79f199e5270b973 /.github/workflows
parent10b3ead050f5b71f2940e29128a00b5243f4b608 (diff)
Use testsuite option instead of group for Selenium tests
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/mutation-tests.yml2
-rw-r--r--.github/workflows/test-selenium.yml2
-rw-r--r--.github/workflows/tests.yml20
3 files changed, 12 insertions, 12 deletions
diff --git a/.github/workflows/mutation-tests.yml b/.github/workflows/mutation-tests.yml
index d356bad2b4..60b3d2c974 100644
--- a/.github/workflows/mutation-tests.yml
+++ b/.github/workflows/mutation-tests.yml
@@ -64,7 +64,7 @@ jobs:
- name: Collect coverage report
run: |
- composer run phpunit -- --exclude-group selenium --stop-on-failure
+ composer run phpunit -- --testsuite unit --stop-on-failure
- name: Infection
if: ${{ github.base_ref != '' }}
diff --git a/.github/workflows/test-selenium.yml b/.github/workflows/test-selenium.yml
index 2860f46fd0..4dfa8a4342 100644
--- a/.github/workflows/test-selenium.yml
+++ b/.github/workflows/test-selenium.yml
@@ -120,7 +120,7 @@ jobs:
TESTSUITE_DATABASE_PREFIX: "selenium"
TESTSUITE_SELENIUM_HOST: "127.0.0.1"
TESTSUITE_SELENIUM_PORT: "4444"
- run: ./vendor/bin/phpunit --group selenium --verbose --debug --no-coverage --stop-on-skipped
+ run: ./vendor/bin/phpunit --testsuite selenium --verbose --debug --no-coverage --stop-on-skipped
- name: Output logs and stop server
env:
CI_MODE: selenium
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 65500688c8..41ac245668 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -17,13 +17,13 @@ jobs:
fail-fast: false
matrix:
include:
- - { php-version: '7', arch: 'amd64', exclude-phpunit-groups: 'selenium,extension-iconv' }
- - { php-version: '7', arch: 'arm64v8', exclude-phpunit-groups: 'selenium,extension-iconv' }
- - { php-version: '7', arch: 'arm32v7', exclude-phpunit-groups: 'selenium,extension-iconv,32bit-incompatible' }
- - { php-version: '7', arch: 'arm32v6', exclude-phpunit-groups: 'selenium,extension-iconv,32bit-incompatible' }
- - { php-version: '7', arch: 'i386', exclude-phpunit-groups: 'selenium,extension-iconv,32bit-incompatible' }
- - { php-version: '7', arch: 'ppc64le', exclude-phpunit-groups: 'selenium,extension-iconv' }
- - { php-version: '7', arch: 's390x', exclude-phpunit-groups: 'selenium,extension-iconv,32bit-incompatible' }
+ - { php-version: '7', arch: 'amd64', exclude-phpunit-groups: 'extension-iconv' }
+ - { php-version: '7', arch: 'arm64v8', exclude-phpunit-groups: 'extension-iconv' }
+ - { php-version: '7', arch: 'arm32v7', exclude-phpunit-groups: 'extension-iconv,32bit-incompatible' }
+ - { php-version: '7', arch: 'arm32v6', exclude-phpunit-groups: 'extension-iconv,32bit-incompatible' }
+ - { php-version: '7', arch: 'i386', exclude-phpunit-groups: 'extension-iconv,32bit-incompatible' }
+ - { php-version: '7', arch: 'ppc64le', exclude-phpunit-groups: 'extension-iconv' }
+ - { php-version: '7', arch: 's390x', exclude-phpunit-groups: 'extension-iconv,32bit-incompatible' }
steps:
- uses: actions/checkout@v2
- name: Write script
@@ -44,7 +44,7 @@ jobs:
apk add --update --no-cache --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing php\$V-pecl-pcov && \
composer update && \
./scripts/generate-mo && \
- php -d memory_limit=512M ./vendor/bin/phpunit --exclude-group=%s" \
+ php -d memory_limit=512M ./vendor/bin/phpunit --testsuite unit --exclude-group=%s" \
"${{ matrix.php-version }}" "${{ matrix.exclude-phpunit-groups }}" > ./do-tests.sh
- name: Setup multi arch support
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
@@ -67,7 +67,7 @@ jobs:
php-version: ["7.2", "7.3", "7.4", "8.0"]
experimental: [false]
os: [ubuntu-latest]
- phpunit-options: ['--exclude-group selenium']
+ phpunit-options: ['--testsuite unit']
include:
- php-version: '8.1'
experimental: true
@@ -161,7 +161,7 @@ jobs:
- name: Install dependencies
run: composer install
- name: Run php tests
- run: composer run phpunit -- --exclude-group selenium
+ run: composer run phpunit -- --testsuite unit
- name: Send coverage
uses: codecov/codecov-action@v1
with: