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

move github actions to micromamba action #111

Open
CagtayFabry opened this issue Dec 11, 2023 · 2 comments
Open

move github actions to micromamba action #111

CagtayFabry opened this issue Dec 11, 2023 · 2 comments

Comments

@CagtayFabry
Copy link
Member

Use micromamba setup isntead of pip install for speedup (e.g. similar to weldx setup)

      - uses: CagtayFabry/pydeps2env@main
        with:
          file: 'pyproject.toml'
          channels: 'conda-forge defaults'
          extras: 'test vis media'
          setup_requires: 'include'

      - name: Setup Conda Environment
        uses: mamba-org/[email protected]
        with:
          environment-file: ./environment.yml
          environment-name: weldx
          init-shell: >-
            bash
            powershell
          cache-environment: true
          create-args: >-
            python=${{ matrix.py }}
            wheel
            pip
@marscher
Copy link
Contributor

pip will always be faster than anything conda based ;) But feel free to open a PR if you prefer this solution.

@CagtayFabry
Copy link
Member Author

pip will always be faster than anything conda based ;) But feel free to open a PR if you prefer this solution.

I guess the cache action would have to monitor pyproject.toml in that case, can you add change this in #107?

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

No branches or pull requests

2 participants