mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-graphql-relay: Enable tests.
* gnu/packages/python-xyz.scm (python-graphql-relay)[arguments]: Use custom 'check phase. [native-inputs]: Add python-pytest, python-pytest-asyncio.
This commit is contained in:
parent
e187ce20d2
commit
8e220c2332
1 changed files with 10 additions and 1 deletions
|
@ -16111,7 +16111,16 @@ to Python.")
|
||||||
"1d70vwam9gjhx7fqzsa03x7lc6ivcqki5r9pk8m7rslmb7pagmbh"))))
|
"1d70vwam9gjhx7fqzsa03x7lc6ivcqki5r9pk8m7rslmb7pagmbh"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f)) ; The tests are not distributed
|
'(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(invoke "pytest" "tests")))))))
|
||||||
|
(native-inputs
|
||||||
|
(list
|
||||||
|
python-pytest
|
||||||
|
python-pytest-asyncio))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-graphql-core" ,python-graphql-core)))
|
`(("python-graphql-core" ,python-graphql-core)))
|
||||||
(home-page "https://github.com/graphql-python/graphql-relay-py")
|
(home-page "https://github.com/graphql-python/graphql-relay-py")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue