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-09-13 15:48:48 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2021-09-13 15:48:48 +0300
commit9bf9ac37444185253c52e219cd9fdebbed60ee0e (patch)
tree188e905c64a7ce62031bae599c85f6af7a9cf1c5 /.github/workflows
parent3f873709782e65fa79507445fb37cbc9f3fdd6ba (diff)
Do not generate code coverage from multi-arch tests
Code coverage from multi-arch tests is not needed. Knowing if the tests passes is enough. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/tests.yml9
1 files changed, 1 insertions, 8 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index b597560da4..16a1a6ddd2 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -31,7 +31,6 @@ jobs:
# tcpdf allowed memory exhausted needs the memory_limit workaround
# musl-locales and musl-locales-lang are needed to run some locale specific tests
# gettext is needed to run generate-mo
- # pcov for code coverage
# git is needed to workaround a version detection issue with composer, see: https://github.com/Roave/SecurityAdvisories/issues/76
run: |
printf "set -exu && \
@@ -42,10 +41,9 @@ jobs:
php\$V-dom php\$V-json php\$V-bz2 php\$V-curl php\$V-gd php\$V-zip \
musl-locales musl-locales-lang \
gettext composer git && \
- 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 --testsuite unit --exclude-group=%s" \
+ php -d memory_limit=512M ./vendor/bin/phpunit --no-coverage --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
@@ -53,11 +51,6 @@ jobs:
run: docker run --rm ${{ matrix.arch }}/alpine:3.14 uname -a
- name: Run tests on php ${{ matrix.php-version }}
run: docker run -v $PWD:/app --workdir /app --rm ${{ matrix.arch }}/alpine:3.14 sh /app/do-tests.sh
- - name: Send coverage
- uses: codecov/codecov-action@v1
- with:
- flags: arch-${{ matrix.php-version }}-${{ matrix.arch }}
- name: phpunit-${{ matrix.php-version }}-${{ matrix.arch }}
test-php:
name: Test on php ${{ matrix.php-version }} and ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, '[ci skip]')"