Skip to content

using basilisk on GitHub Actions #16

@bschilder

Description

@bschilder

Hello,

I was really excited to come across basilisk recently, as it addresses many of the things I've been trying to find hacks around for the last several years.

In the process, I've made a sort of meta-package called echoconda that handles building and using conda envs via different methods:

  • reticulate
  • basilisk
  • command line wrapper

When i use basilisk for conda environment creation from yaml files via the function yaml_to_env(method="basilisk"), everything works fine when i run this locally. However, it keeps failing on my GitHub Actions workflow during the devtools::check step. You can see a recent example here.

Screenshot 2022-04-27 at 18 51 56

The core error message relates to conda not installing, which i also use basilisk for via install_conda(method="basilisk"). I include a check within the first step of yaml_to_env that tries to ensure that conda is installed (if it isn't already).

Do you have any tips for using basilisk via GHA? (both for installing conda and for building conda envs).

Many thanks,
Brian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions