Skip to content

Conversation

@cmbant
Copy link
Collaborator

@cmbant cmbant commented Mar 25, 2025

Example of how to install (of course it would be much cleaner to make cobaya a dependency, and use the cobaya mechanism rather than having custom install routines, and pull all functions as class methods).

(sorry about all the whitespace changes, did an auto-format)

@cmbant cmbant mentioned this pull request Mar 25, 2025
@msyriac
Copy link
Member

msyriac commented Mar 25, 2025

Code changes look good to me; thanks Antony! CI is failing though..

@cmbant
Copy link
Collaborator Author

cmbant commented Mar 25, 2025

I guess you need to cobaya-install it before running the cobaya test, since the non-cobaya tests do not install into the cobaya packages folder. The mac fails seem to be nothing to do with this PR.

@msyriac
Copy link
Member

msyriac commented Mar 25, 2025

Ok that requires editing the workflow files: I'm not sure I can edit them in this PR since it's from your fork's main branch. I'll merge this into a devel branch.

@msyriac msyriac changed the base branch from main to devel March 25, 2025 13:58
@msyriac msyriac merged commit 9e47f36 into ACTCollaboration:devel Mar 25, 2025
0 of 8 checks passed
msyriac added a commit that referenced this pull request Mar 28, 2025
* Installation (#22)

* cobaya install

* cobaya install

* try cobaya install for tests

* Update testing.yml

* class name in cobaya install

* add pip install of checked out module

* update miniconda action

---------

Co-authored-by: Antony Lewis <[email protected]>
Co-authored-by: Ian Harrison <[email protected]>
msyriac added a commit that referenced this pull request Apr 4, 2025
* Installation (#22)

* cobaya install

* cobaya install

* try cobaya install for tests

* Update testing.yml

* class name in cobaya install

* add pip install of checked out module

* update miniconda action

* add publish workflow

---------

Co-authored-by: Antony Lewis <[email protected]>
Co-authored-by: Mathew Madhavacheril <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants