Skip to content
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

CI only works with one step #27

Open
redur opened this issue Apr 5, 2024 · 0 comments
Open

CI only works with one step #27

redur opened this issue Apr 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@redur
Copy link
Contributor

redur commented Apr 5, 2024

Currently the CI fails when we execute code over multiple steps in a given job. The reason seems to be related with the conda environment. I am not 100% sure what's the problem, but the conda environment doesnt seem to be properly passed to the next step.

The error states to do conda init before conda activate .... But even if we do so, it doesnt work. Also sourcing the bashprofile and bashrc does not help.

For now all the CI jobs work fine. But if we are to use more CI's, or move towards production, it would be great to refactor and define a setup job/step that can be reused across jobs/runners.

@redur redur added the bug Something isn't working label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant