-
Notifications
You must be signed in to change notification settings - Fork 128
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
GitHub Actions #1806
GitHub Actions #1806
Conversation
@bouweandela @nielsdrost would you reckon the |
EDIT am being a dummy and I forgot to install the R packages - done now but R is being a turkey for OSX |
OSX related issues in separate issue: #1807 |
OK this one's ready for merge 👍 |
.circleci/config.yml
Outdated
@@ -169,9 +164,10 @@ jobs: | |||
working_directory: /esmvaltool | |||
docker: | |||
- image: continuumio/miniconda3 | |||
resource_class: medium+ |
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.
This breaks the circle-ci build for me :-(
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.
This job has been blocked because resource-class:medium+ is not available on your plan. Please upgrade to continue building.
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 removed that a while ago man, why are you still picking it up?
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.
meh proves out I didnt - sorry about that @nielsdrost - that test failes in Circle coz 137 (memory), that's why we now have a GA test that does that
@valeriupredoi Nice work! It looks like you branched off from a branch in a now merged pull request. Could you merge |
Yes, that would be great. |
did it last week, man, and it passes nicely all the time |
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.
Looks good to go to me, thanks @valeriupredoi
|
||
# runs on a push on master and at the end of every day | ||
on: | ||
# triggering on push without branch name will run tests everytime |
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.
this comment could perhaps be removed.
push: | ||
branches: | ||
- master | ||
- github-actions2 |
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.
perhaps add a note that this is a test branch
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.
good idea!
miniconda-version: "latest" | ||
channels: conda-forge | ||
- shell: bash -l {0} | ||
run: mkdir -p condabuild_artifacts_python_${{ matrix.python-version }} |
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.
shame there is no way (that I could find) to auto-save all logs as artifacts.
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.
there is none yet (apparently, after I too have dug quite a bit); but the output is identical to the one you see on the test screen so it's prob not that useful now
thanks very much for the review @nielsdrost - I'll go ahead and push these tests now but we'll have to revisit the OSX bits since a couple improvements from the core env ESMValGroup/ESMValCore#786 and ESMValGroup/ESMValCore#780 will have improved some aspects; there still is the R issues with OSX that I'll look into too 🍺 |
Summary
Implementation of cross-platform, cross-Python version testing:
Notes
esmvaltool-python
andesmvaltool-ncl
not installation
modeinstallation
decorator for the r-lint test so it's skipped when there is no working r-linterIssues to be looked at after merge