in readme recommend miniforge instead of anaconda or miniconda #153
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Derived from https://github.com/marketplace/actions/setup-miniconda | |
| on: [push, pull_request] | |
| jobs: | |
| test-conda: | |
| name: conda (${{ matrix.python-version }}, ${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] | |
| python-version: ['3.11'] | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v2 | |
| # This is the main miniconda rule | |
| - uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| auto-update-conda: true | |
| python-version: ${{ matrix.python-version }} | |
| # A few rules to tell us th ebasic static | |
| - name: Conda info | |
| # This `bash -l {0}` is somehow needed to activate conda... | |
| shell: bash -l {0} | |
| run: conda info | |
| - name: status | |
| shell: bash -l {0} | |
| if: ${{ runner.os != 'Windows' }} | |
| run: | | |
| set -x | |
| ls ~/ | |
| which conda | |
| which python | |
| which pip | |
| which pwsh || true | |
| pwd | |
| ls | |
| true | |
| # Actually install the environment | |
| - name: Install environment.yml | |
| shell: bash -l {0} | |
| run: conda env update --verbose -f environment.yml | |
| # Test | |
| - name: Test packages | |
| shell: bash -l {0} | |
| run: | | |
| conda activate coderefinery | |
| bash test.sh |