Skip to content

CI: Fix yaml/yml inconsistency #23001

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
Oct 8, 2018
Merged

Conversation

jbrockmendel
Copy link
Member

The ci/windows.yml and ci/windows-py27.yml files reference the environment files with ".yml". This PR moves the ".yaml" files to the indicated location.

CI config is hard.

@jreback jreback added the CI Continuous Integration label Oct 5, 2018
@jreback jreback added this to the 0.24.0 milestone Oct 5, 2018
@@ -13,7 +13,7 @@ conda list
@rem Clean up any left-over from a previous build
conda remove --all -q -y -n %CONDA_ENV%
@rem Scipy, CFFI, jinja2 and IPython are optional dependencies, but exercised in the test suite
conda env create -n %CONDA_ENV% --file=ci\azure-windows-%CONDA_PY%.yaml
conda env create -n %CONDA_ENV% --file=ci\azure-windows-%CONDA_PY%.yml
Copy link
Contributor

Choose a reason for hiding this comment

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

why are you changing this? all of the other files are .yaml

Copy link
Contributor

Choose a reason for hiding this comment

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

would rather change the existing .yml -> .yaml

Copy link
Member Author

Choose a reason for hiding this comment

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

all of the other files are .yaml

The top-level config files are .yml (e.g. .travis.yml)

would rather change the existing .yml -> .yaml

Sure, will update.

@codecov
Copy link

codecov bot commented Oct 5, 2018

Codecov Report

Merging #23001 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #23001      +/-   ##
==========================================
+ Coverage   92.19%   92.19%   +<.01%     
==========================================
  Files         169      169              
  Lines       50831    50835       +4     
==========================================
+ Hits        46864    46868       +4     
  Misses       3967     3967
Flag Coverage Δ
#multiple 90.61% <ø> (ø) ⬆️
#single 42.35% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/core/arrays/datetimelike.py 95.56% <0%> (+0.02%) ⬆️
pandas/core/arrays/period.py 92.04% <0%> (+0.06%) ⬆️

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 4976ee1...72a19ee. Read the comment docs.

@@ -10,7 +10,7 @@ jobs:
maxParallel: 11
matrix:
py35_np_110:
ENV_FILE: ci/azure-macos-35.yml
Copy link
Contributor

Choose a reason for hiding this comment

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

is the name of this file crucial for azure? (e.g. the .yml vs .yaml)?

Copy link
Member Author

Choose a reason for hiding this comment

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

I honestly have no idea. The fact that this name can be wrong without breaking the CI is troubling.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, can you rename these as well and see?

Copy link
Member Author

Choose a reason for hiding this comment

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

I must have miscommunicated. The answer to the previous question is "apparently not". In the status quo, the azure/windows-py27.yml and azure/windows.yml files have ENV_FILE: ci/azure-windows-27.yml that point to non-existent files, and azure doesn't appear to notice.

Copy link
Contributor

Choose a reason for hiding this comment

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

ahh interesting. so any idea how this was working? or is it just picking up the wrong env?

@jbrockmendel
Copy link
Member Author

@TomAugspurger looks like you're the local expert on this. Any ideas?

@TomAugspurger
Copy link
Contributor

I guess azure is being clever and trying both? Regardless, standardizing on one seems good and .yaml is more common.

@TomAugspurger TomAugspurger merged commit 9758158 into pandas-dev:master Oct 8, 2018
@jbrockmendel jbrockmendel deleted the yml-yaml branch October 9, 2018 00:53
tm9k1 pushed a commit to tm9k1/pandas that referenced this pull request Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants