From 01c9869e2b72be514691f7c5eead1632fe682781 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 28 Oct 2023 18:07:54 +0300 Subject: phpunit - skip integration tests --- .gitlab-ci.yml | 2 ++ utils/phpunit.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 21a376c81..900dcae7b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,6 +20,8 @@ include: phpunit: extends: .phpunit + variables: + PHPUNIT_ARGS: --exclude integration eslint: extends: .eslint diff --git a/utils/phpunit.sh b/utils/phpunit.sh index 2aa166283..461a4abad 100755 --- a/utils/phpunit.sh +++ b/utils/phpunit.sh @@ -1,6 +1,6 @@ #!/bin/sh docker run --rm -v $(pwd):/app \ - --workdir /app registry.fakecake.org/ci/php8.2-alpine:3.18 php82 -d memory_limit=-1 ./vendor/bin/phpunit + --workdir /app registry.fakecake.org/ci/php8.2-alpine:3.18 php82 -d memory_limit=-1 ./vendor/bin/phpunit --exclude integration -- cgit v1.2.3