Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Try fixing conda on Windows #7

Open
wants to merge 10 commits into
base: windows
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 26 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,40 @@ jobs:
matrix:
os: [windows-latest]

defaults:
run:
shell: powershell

steps:
- uses: actions/checkout@v2
- run: |
- shell: bash
run: |
npm install
npm run all
- uses: ./
- name: init powershell
run: conda init --system powershell
- name: Run conda list
run: conda list
- name: init pwsh
run: conda init --system powershell
- name: Install Python
shell: powershell
# run: echo "%PATH%" && CALL activate.bat base && conda info && echo "%PATH%"
- name: Install stuff
run: |
conda activate base
$ErrorActionPreference = 'stop';
conda env list
echo "$env:path"
- name: Install stuff
run: conda activate base && mamba.bat install -y -c conda-forge xtensor
get-command mamba
mamba --version
write-host 'AAAAA'
$proc = Start-Process mamba -ArgumentList 'install','-y','-c conda-forge','xtensor' -NoNewWindow -Wait -PassThru;
write-host "EXITCODE: ${proc.ExitCode}"
write-host $proc.StandardOutput
write-host $proc.StandardError
write-host 'BBBBB'
conda list
write-host 'CCCCC'
mamba install --yes conda=4.8.2
write-host 'DDDDD'
- name: Install Notebook and widgets
run: mamba.bat install -y -c conda-forge notebook ipywidgets
run: |
mamba install -y -c conda-forge xtensor
mamba install -y -c conda-forge notebook ipywidgets
- name: List the packages
run: mamba.bat list
run: mamba list