diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 73c640b..cbb8169 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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