8000 Changed appveyor.yml to reduce tests by kirit93 · Pull Request #579 · dateutil/dateutil · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Changed appveyor.yml to reduce tests #579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 11, 2017
Merged

Conversation

kirit93
Copy link
Contributor
@kirit93 kirit93 commented Dec 10, 2017

Related to issue #529
@gaborbernat Please let me know if the changes I've made are what is expected.

@pganssle
Copy link
Member
pganssle commented Dec 10, 2017

Hmm.. One thing to consider here is the order. I wonder if there's any way to get statistics on which environments fail most frequently (preferably where builds where all platforms failed and builds that did not finish are discarded).

My instinct is to order this like this:

  • python 2.7 x64
  • python 3.6 x64
  • python 3.3 x64
  • python 3.4 x64
  • python 3.5 x64
  • python 2.7 x86
  • python 3.6 x86

But I think that's probably not the right order. Probably the right order (in terms of failing fastest) is this:

  • python 2.7 x64
  • python 3.3 x64
    -python 3.4 x64
  • python 3.5 x64
  • python 3.6 x64
  • python 2.7 x86
  • python 3.6 x86

So.. basically exactly what you did, except putting the x86 builds at the end instead of the beginning.

Let me know if you feel strongly about this, this is just kinda shooting from the hip.

@codecov-io
Copy link
codecov-io commented Dec 10, 2017

Codecov Report

Merging #579 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #579   +/-   ##
=======================================
  Coverage   94.87%   94.87%           
=======================================
  Files          28       28           
  Lines        7184     7184           
=======================================
  Hits         6816     6816           
  Misses        368      368

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d4a33b0...bd09b80. Read the comment docs.

@kirit93
Copy link
Contributor Author
kirit93 commented Dec 10, 2017

I'm not sure if there's a way to get statistics, I'll do some research on it. For now I'll go with the order you mentioned second (x86 at the end).

@pganssle
Copy link
Member

LGTM if @gaborbernat agrees.

@pganssle pganssle added this to the Master milestone Dec 10, 2017
appveyor.yml Outdated
platform:
- x86
- x64
- PLATFORM : x64
Copy link
Contributor

Choose a reason for hiding this comment

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

technically correct, but a shorter way of expressing this (and smaller change) is just banning the three excluded envs (https://www.appveyor.com/docs/build-configuration/#exclude-configuration-from-the-matrix)

Copy link
Member

Choose a reason for hiding this comment

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

I believe this was @kirit93's original approach. I'm not sure why he abandoned it.

Copy link
Contributor Author
@kirit93 kirit93 Dec 11, 2017

Choose a reason for hiding this comment

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

@pganssle, @gaborbernat I thought it would be simpler to play around with the order of the jobs if I explicitly defined the matrix. If you take a look at the latest commit that uses exclude, the jobs are not ordered in the way we want them to be.
Since we want all the x64 jobs done first followed by the two x86 jobs, the previous commit has the right implementation.

Copy link
Contributor
@gaborbernat gaborbernat left a comment

Choose a reason for hiding this comment

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

looks ready for merge 👍

@pganssle
Copy link
Member
pganssle commented Dec 11, 2017

Hm.. Appveyor does not seem to be clearing the queue, I'm not sure why. I think it's unrelated to this change.

@pganssle pganssle merged commit 7345fc7 into dateutil:master Dec 11, 2017
This was referenced Mar 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0