Conversation
Remove pixi.lock file before adding package from git.
|
@brynpickering In here, we wanna run the same PyPSA-Eur test workflow (integration and unit tests), but install instead the current ref of PyPSA. I did a couple of unsuccessful tries and errors, and before it gets hacky, could you point me to the right way to do this with I was thinking that the below does the job, but the lock file always blocks it or is created and then blocks it: |
|
Ref #1446 |
brynpickering
left a comment
There was a problem hiding this comment.
Sorry, didn't see this PR when I opened mine!
I have it working on my fork (see here - it fails, but in a predictable way as its expecting Bus when pypsa v1 doesn't use that terminology anymore there).
.github/workflows/test-models.yml
Outdated
| if: env.pinned == 'false' | ||
| run: | | ||
| pixi remove pypsa | ||
| pixi remove ${{ lower(github.event.repository.name) }} |
There was a problem hiding this comment.
This command is removing the package so it should stay as pypsa, no?
There was a problem hiding this comment.
I just want it to be generalised so that we can copy and paste the workflow to e.g. linopy. But I've added a package name environment variable now
No description provided.