about summary refs log tree commit diff
path: root/.guix/pyhegp-package.scm
diff options
context:
space:
mode:
Diffstat (limited to '.guix/pyhegp-package.scm')
-rw-r--r--.guix/pyhegp-package.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/.guix/pyhegp-package.scm b/.guix/pyhegp-package.scm
index e468564..20231cd 100644
--- a/.guix/pyhegp-package.scm
+++ b/.guix/pyhegp-package.scm
@@ -46,6 +46,15 @@
                         #:select? (or (git-predicate (dirname (current-source-directory)))
                                       (const #t))))
     (build-system pyproject-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               ;; When the CI environment variable is set to any
+               ;; value, hypothesis switches to using its built-in CI
+               ;; profile.
+               (add-before 'check 'set-ci-environment
+                 (lambda _
+                   (setenv "CI" "running-on-ci"))))))
     (inputs
      (list python-click
            python-numpy