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
Improve CI Setup #681
Improve CI Setup #681
Conversation
Looks good to me. The results speak for themselves. Nice work.
Just one comment about the tools/ci.js file, but I'll approve straight away.
| @@ -51,7 +43,7 @@ commands: | |||
| steps: | |||
| - run: | |||
| name: Install Node dependencies | |||
| command: node tools/ci.js | |||
| command: npm install | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can delete the tools/ci.js file now. Doesn't seem to be used anywhere else.
| # Get rid of pyenv stuff | ||
| sudo rm -rf .pyenv/ /opt/circleci/.pyenv/ | ||
| # Download and install miniconda | ||
| curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh > miniconda.sh | ||
| bash miniconda.sh -b -p $HOME/miniconda | ||
| # Create an anaconda virtualenv for python ${CONDA_ENV_PY_VERSION} and make that the default python interpreter | ||
| echo ". /home/circleci/miniconda/etc/profile.d/conda.sh" >> $BASH_ENV | ||
| echo "conda deactivate; conda activate kedro-viz" >> $BASH_ENV | ||
| . /home/circleci/miniconda/etc/profile.d/conda.sh | ||
| conda create --name kedro-viz python=${CONDA_ENV_PY_VERSION} -y | ||
| source $BASH_ENV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@limdauto this is more for my curiosity - I wonder why won't we need conda as the default python interpreter with the new setup? Is it becuase of the switch to use cimg?
Signed-off-by: Rashida Kanchwala <rashida.kanchwala@quantumblack.com>
Signed-off-by: Rashida Kanchwala <rashida.kanchwala@quantumblack.com>


Description
cimgimage as opposed to the legacycircleci.npm installinstead ofnpm cito allownode_modulescache to take effectmake pylintNet result
Before:
After:
Further improvement
Maybe we can run windows test on main only.
Development notes
QA notes
Checklist
RELEASE.mdfileThe text was updated successfully, but these errors were encountered: