misc: switch from tox to nox (#84136) #884

Open
csechet wants to merge 1 commits from wip/84136-passage-a-nox into main
Owner
No description provided.
csechet added 1 commit 2023-11-30 17:20:14 +01:00
gitea/wcs/pipeline/head There was a failure building this commit Details
a434a7b8cd
misc: switch from tox to nox (#84136)
csechet force-pushed wip/84136-passage-a-nox from a434a7b8cd to 554ff08dfb 2023-11-30 17:27:28 +01:00 Compare
fpeters reviewed 2023-11-30 18:04:55 +01:00
noxfile.py Outdated
@ -0,0 +52,4 @@
django_version=django,
)
args = ['py.test']
Owner

La partie parallélisation n'a pas été reprise :

    py.test {posargs:-v {env:COVERAGE:} --numprocesses={env:NUMPROCESSES:1} --dist loadfile --junitxml=junit-{envname}.xml tests/} 

(la partie --dist loadfile est importante, et le not session.interactive dessous ne semble pas effectif.

La partie parallélisation n'a pas été reprise : ``` py.test {posargs:-v {env:COVERAGE:} --numprocesses={env:NUMPROCESSES:1} --dist loadfile --junitxml=junit-{envname}.xml tests/} ``` (la partie --dist loadfile est importante, et le `not session.interactive` dessous ne semble pas effectif.
bdauvergne marked this conversation as resolved
fpeters reviewed 2023-11-30 18:13:15 +01:00
tox.ini Outdated
@ -18,4 +0,0 @@
deps =
# test dependencies
pytest>=3.6
pytest-mock
Owner

On a perdu le pytest-mock il me semble,

fixture 'mocker' not found
On a perdu le pytest-mock il me semble, ``` fixture 'mocker' not found ```
csechet force-pushed wip/84136-passage-a-nox from 554ff08dfb to 37fe6c039b 2023-12-19 16:50:26 +01:00 Compare
bdauvergne requested changes 2024-01-10 17:55:35 +01:00
bdauvergne left a comment
Owner

Ne passe pas le build.

Ne passe pas le build.
csechet force-pushed wip/84136-passage-a-nox from 37fe6c039b to f47d361993 2024-01-17 10:14:33 +01:00 Compare
csechet force-pushed wip/84136-passage-a-nox from f47d361993 to 419967a3c6 2024-03-21 15:10:49 +01:00 Compare
csechet force-pushed wip/84136-passage-a-nox from 419967a3c6 to db4e539dba 2024-04-23 11:08:43 +02:00 Compare
Some checks failed
gitea/wcs/pipeline/head There was a failure building this commit
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: entrouvert/wcs#884
No description provided.