Repository navigation
Fix peloton - #281
Fix peloton#281pp-mo wants to merge 1 commit into
Conversation
7ce9cd5 to
0e2268c
Compare
|
In testing: |
There was a problem hiding this comment.
Just a couple minor suggestions to keep this in line with existing patterns. Otherwise this looks good.
| @@ -1,3 +1,8 @@ | |||
| # reference: | |||
| # - https://github.com/actions/checkout | |||
| # - https://github.com/marketplace/actions/setup-miniconda | |||
There was a problem hiding this comment.
Following the pattern in #280 this ought to be "https://github.com/conda-incubator/setup-miniconda"
There was a problem hiding this comment.
TBH I preferred the 'marketplace' version because I thought it was more "official", i.e. GHA approved.
This form is what you get if you go to conda-incubator/setup-miniconda and hit the "Use this GitHub action with your project : view in Marketplace" button which they provide, so I assumed they wanted to "promote" it that way.
Actually I now realise that this is also true of 'github-app-token' : it is also available from Marketplace, if we wanted to prefer that?
... and, if you go there, it suggests we should be using a newer "create-github-app-token" action instead ...
There was a problem hiding this comment.
There's maybe a case for that, but the same could be said for the other links in the reference section. If we were to make that change here it would make sense to make it across the board for all such links, which feels more like it deserves its own PR. For the time being, maintaining consistency makes more sense to me.
| uses: actions/checkout@v3 | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 | ||
|
|
||
| - name: "Install miniconda" |
There was a problem hiding this comment.
Following the pattern in #280 this ought to be "Conda install"
There was a problem hiding this comment.
TBH I thought that terminology was simply ill-chosen + confusing.
The steps there are named :
- Checkout repo
- Install run dependencies
- Conda install
- Cache environment directories
- Benchmark this pull request
- Run overnight benchmarks
- Warn of failure
- Upload any benchmark reports
- Archive asv results
So "Conda install" is out of line with all the others, which use an active verb (like the numpydoc recommendation).
And it is ambiguous in my view : it could imply that we are running a "conda install" command.
There was a problem hiding this comment.
Yeah, that makes sense. I suppose it would be out of scope to change the other instances of "Conda install" in this PR but it might be worth capturing this as a follow up task in an issue (along with the above comment about changing the reference links to their marketplace versions).
Broken since GHA environment stopped including conda as standard.
Updated peloton action to install it explicitly,