Skip to content

Commit

Permalink
some more mamba invocation work
Browse files Browse the repository at this point in the history
  • Loading branch information
bollwyvl committed Jan 4, 2021
1 parent 6ac92ef commit 4f9c475
Showing 1 changed file with 23 additions and 17 deletions.
40 changes: 23 additions & 17 deletions .github/workflows/job.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:

- name: Install minimal build deps
shell: bash -l {0}
run: mamba install -n test -c conda-forge -c nodefaults setuptools 'jupyterlab${{ matrix.lab }}' 'nodejs${{ matrix.nodejs }}'
run: mamba install --no-banner -n test -c conda-forge -c nodefaults setuptools 'jupyterlab${{ matrix.lab }}' 'nodejs${{ matrix.nodejs }}'

- name: Install npm dependencies
run: jlpm --ignore-optional --prefer-offline --frozen-lockfile
Expand Down Expand Up @@ -171,33 +171,39 @@ jobs:
restore-keys: |
${{ env.CACHE_EPOCH }}-${{ matrix.os }}-${{ matrix.python }}-atest-
- name: Set up Python and conda
- name: Cache yarn
uses: actions/cache@v1
with:
path: .yarn-packages
key: |
${{ env.CACHE_EPOCH }}-yarn-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ env.CACHE_EPOCH }}-yarn-${{ runner.os }}-
${{ env.CACHE_EPOCH }}-yarn-
- name: Set up Python and mamba
uses: conda-incubator/setup-miniconda@v2
with:
installer-url: ${{ env.MAMBAFORGE_URL }}-${{ matrix.mambaforge }}
python-version: ${{ matrix.python }}
channel-priority: true
environment-file: requirements/github-actions.yml
use-only-tar-bz2: true # needs to be set for caching to work properly

- name: Describe mamba
- name: Describe mamba and conda
shell: bash -l {0}
run: |
mamba info
mamba list
mamba config --show-sources
mamba config --show
mamba info --no-banner
conda config --show-sources
conda config --show
printenv | sort
- name: Cache yarn
uses: actions/cache@v1
with:
path: .yarn-packages
key: |
${{ env.CACHE_EPOCH }}-yarn-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ env.CACHE_EPOCH }}-yarn-${{ runner.os }}-
${{ env.CACHE_EPOCH }}-yarn-
- name: Install conda dependencies
shell: bash -l {0}
run: mamba env update --no-banner -n test --file requirements/github-actions.yml

- name: List all packages
shell: bash -l {0}
run: mamba list --no-banner

- name: Install npm dependencies
run: jlpm --ignore-optional --prefer-offline --frozen-lockfile
Expand Down

0 comments on commit 4f9c475

Please sign in to comment.