prjemian / punx

Python Utilities for NeXus HDF5 files
https://prjemian.github.io/punx
5 stars 7 forks source link

refactor CI to use micromamba #208

Closed prjemian closed 2 years ago

prjemian commented 2 years ago

As seen with apstools, it's faster to solve the package requirements and much easier to configure and use:

From the CI configuration:

    - name: Create Python ${{ matrix.python-version }} environment
      uses: mamba-org/provision-with-micromamba@main
      with:
        environment-file: environment.yml
        environment-name: anaconda-test-env-py-${{ matrix.python-version }}

    - name: Initial diagnostics
      shell: bash -l {0}
      run: |
        micromamba info
        micromamba list
        conda config --show-sources
        conda config --show
        micromamba env list
        printenv | sort