[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67902] [PATCH v4 56/98] gnu: Add php-cache-integration-tests.
From: |
Nicolas Graves |
Subject: |
[bug#67902] [PATCH v4 56/98] gnu: Add php-cache-integration-tests. |
Date: |
Mon, 7 Oct 2024 23:44:24 +0200 |
* gnu/packages/php-xyz.scm (php-cache-integration-tests): New variable.
Change-Id: I561d088a95cdcb8629a7e6cab9503be7cf658492
---
gnu/packages/php-xyz.scm | 42 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index c0342817da..2a03fd6ee4 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1393,3 +1393,45 @@ (define-public php-symfony-cache
(home-page "https://symfony.com")
(license license:expat)))
+(define-public php-cache-integration-tests
+ (package
+ (name "php-cache-integration-tests")
+ (version "0.17.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/php-cache/integration-tests")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0i079z0jmcji4kn9mcxdv2093ypcd6albwkhhkiv39py31bjdpgg"))))
+ (build-system composer-build-system)
+ (arguments
+ (list
+ #:test-flags ''("--testsuite" "Symfony")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'fix-tests
+ (lambda _
+ ;; Adapt phpunit config to Guix context.
+ (substitute* "phpunit.xml.dist"
+ (("\\./vendor/symfony/cache")
+ (string-append
+ #$(this-package-native-input "php-symfony-cache")
+ "/share/web/symfony/cache"))))))))
+ (inputs
+ (list php-psr-cache php-cache-tag-interop))
+ (native-inputs
+ (list php-phpunit-phpunit
+ (package/inherit php-symfony-cache
+ (arguments '(#:tests? #f))
+ (native-inputs '()))
+ php-symfony-filesystem
+ php-symfony-phpunit-bridge))
+ (synopsis "PHP integration tests")
+ (description "This package provides PHP integration tests for PSR-6 and
+PSR-16 cache implementations.")
+ (home-page "https://github.com/php-cache/integration-tests")
+ (license license:expat)))
+
--
2.46.0
- [bug#67902] [PATCH v4 46/98] gnu: Add php-sebastian-exporter., (continued)
- [bug#67902] [PATCH v4 46/98] gnu: Add php-sebastian-exporter., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 47/98] gnu: Add php-sebastian-global-state., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 49/98] gnu: Add php-sebastian-object-enumerator., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 48/98] gnu: Add php-sebastian-lines-of-code., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 52/98] gnu: Add php-sebastian-resource-operations., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 53/98] gnu: Add php-sebastian-type., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 50/98] gnu: Add php-sebastian-object-reflector., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 51/98] gnu: Add php-sebastian-recursion-context., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 57/98] gnu: Add php-symfony-cache-contracts., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 54/98] gnu: Add php-sebastian-version., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 56/98] gnu: Add php-cache-integration-tests.,
Nicolas Graves <=
- [bug#67902] [PATCH v4 62/98] gnu: Add php-symfony-error-handler., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 64/98] gnu: Add php-symfony-event-dispatcher-contracts., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 66/98] gnu: Add php-symfony-filesystem., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 63/98] gnu: Add php-symfony-event-dispatcher., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 68/98] gnu: Add php-symfony-http-foundation., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 59/98] gnu: Add php-symfony-console., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 55/98] gnu: Add php-symfony-cache., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 58/98] gnu: Add php-symfony-config., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 60/98] gnu: Add php-symfony-dependency-injection., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 61/98] gnu: Add php-symfony-deprecation-contracts., Nicolas Graves, 2024/10/07