Skip to content

Conversation

@blueyed
Copy link
Contributor

@blueyed blueyed commented Oct 14, 2018

  • CI: run specialized factors in a single job
  • AppVeyor: fast_finish

Given the setup time for jobs, it makes sense to run
*-pexpect,*-trial,*-numpy in a single build job.
This runs py27, py37 and linting first - simulating the baseline stage
used on Travis.
# note: please use "tox --listenvs" to populate the build matrix below
# please remove the linting env in all cases
- TOXENV=py27-pexpect
# Specialized factors for py27.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was the reasoning here for plumping pexpect, trial, and numpy together, while keeping xdist and pluggymaster separate? I'm curious.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xdist and pluggymaster run the whole test suite, while the others only run parts of it.

Initially I've thought to just install pexpect on CI by default, but then it would slow more jobs down.

Re pexpect I think it could even use a marker or similar to really run only pexpect tests maybe even.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xdist and pluggymaster run the whole test suite, while the others only run parts of it.

I see, makes sense. Please add a comment so the rationale is explicit.

Re pexpect I think it could even use a marker or similar to really run only pexpect tests maybe even.

I suspect it won't really change the overall time much (if at all).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment so the rationale is explicit.

"Specialized factors for py27." was meant to be for that. But maybe put it on the same line then? Better wording?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Specialized tests for py27"? Not sure, the wording might be fine and it was my fault for not understanding it right away hehehe

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's maybe wait for another pair of eyes then.

@coveralls
Copy link

coveralls commented Oct 14, 2018

Coverage Status

Coverage increased (+0.02%) to 93.829% when pulling 7ded937 on blueyed:ci into c6c326f on pytest-dev:master.

@nicoddemus
Copy link
Member

Let's go ahead, no sense in keeping this waiting in account of a single comment. 👍

@nicoddemus nicoddemus merged commit fe2dae4 into pytest-dev:master Oct 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants