From 4cc3affaec2a9bce07f48a0437a81d89396b6bce Mon Sep 17 00:00:00 2001 From: David Hirschfeld Date: Fri, 12 Jun 2020 20:57:55 +1000 Subject: [PATCH 01/10] Try fixing conda on Windows --- .github/workflows/test.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 73c640b..b351312 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,10 @@ on: - master - 'releases/*' +defaults: + run: + shell: powershell + jobs: build: runs-on: ubuntu-latest @@ -29,20 +33,13 @@ jobs: 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%" - run: | - conda activate base - conda env list - echo "$env:path" - name: Install stuff - run: conda activate base && mamba.bat install -y -c conda-forge xtensor + run: mamba install -y -c conda-forge xtensor - name: Install Notebook and widgets - run: mamba.bat install -y -c conda-forge notebook ipywidgets + run: mamba install -y -c conda-forge notebook ipywidgets - name: List the packages - run: mamba.bat list + run: mamba list From a212b1e047174c38c87ff8c3fd51516fc808dad7 Mon Sep 17 00:00:00 2001 From: David Hirschfeld Date: Fri, 12 Jun 2020 21:06:09 +1000 Subject: [PATCH 02/10] Use bash on ubuntu --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b351312..e51a725 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - run: | + - shell: bash + run: | npm install npm run all From 1fd0f4899993be24208cc9a4b138cfb52c4ef648 Mon Sep 17 00:00:00 2001 From: David Hirschfeld Date: Fri, 12 Jun 2020 21:14:58 +1000 Subject: [PATCH 03/10] whack --- .github/workflows/test.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e51a725..1986356 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,17 +6,12 @@ on: - master - 'releases/*' -defaults: - run: - shell: powershell - jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - shell: bash - run: | + - run: | npm install npm run all @@ -28,6 +23,10 @@ jobs: matrix: os: [windows-latest] + defaults: + run: + shell: powershell + steps: - uses: actions/checkout@v2 - run: | From 973e30a1bc19e87caeeda435da3b04f9feee633a Mon Sep 17 00:00:00 2001 From: David Hirschfeld Date: Fri, 12 Jun 2020 21:19:54 +1000 Subject: [PATCH 04/10] whack --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1986356..2ac66d6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,8 @@ jobs: steps: - uses: actions/checkout@v2 - - run: | + - shell: bash + run: | npm install npm run all - uses: ./ From 96b8264a3247baabf6953b12397ee10093b8903a Mon Sep 17 00:00:00 2001 From: David Hirschfeld Date: Fri, 12 Jun 2020 21:28:58 +1000 Subject: [PATCH 05/10] whack --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ac66d6..44c24a2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,7 +39,11 @@ jobs: - name: Run conda list run: conda list - name: Install stuff - run: mamba install -y -c conda-forge xtensor + run: | + conda env list + get-command mamba + mamba --version + mamba install -y -c conda-forge xtensor - name: Install Notebook and widgets run: mamba install -y -c conda-forge notebook ipywidgets - name: List the packages From d35e4ea28b0ff22de1df7702776d46b803e7bb0c Mon Sep 17 00:00:00 2001 From: David Hirschfeld Date: Fri, 12 Jun 2020 21:35:29 +1000 Subject: [PATCH 06/10] whack --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 44c24a2..30c760e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,7 +43,9 @@ jobs: conda env list get-command mamba mamba --version + write-host 'AAAAA' mamba install -y -c conda-forge xtensor + write-host 'BBBBB' - name: Install Notebook and widgets run: mamba install -y -c conda-forge notebook ipywidgets - name: List the packages From a1a60bdb4a16ffe98aa95a2eee0ba3f42eabc1c7 Mon Sep 17 00:00:00 2001 From: David Hirschfeld Date: Fri, 12 Jun 2020 21:41:04 +1000 Subject: [PATCH 07/10] whack --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 30c760e..ef16eb5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,6 +40,7 @@ jobs: run: conda list - name: Install stuff run: | + $ErrorActionPreference = 'Stop'; conda env list get-command mamba mamba --version From 78811feba3bb026b9b54696329890b744088ff64 Mon Sep 17 00:00:00 2001 From: David Hirschfeld Date: Fri, 12 Jun 2020 21:55:40 +1000 Subject: [PATCH 08/10] whack --- .github/workflows/test.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ef16eb5..0e9cbc4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,14 +40,19 @@ jobs: run: conda list - name: Install stuff run: | - $ErrorActionPreference = 'Stop'; + $ErrorActionPreference = 'stop'; conda env list get-command mamba mamba --version write-host 'AAAAA' - mamba install -y -c conda-forge xtensor + $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' - name: Install Notebook and widgets - run: mamba 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 list From d4a71fe8a43935fc349ace217ae9d3057aea1748 Mon Sep 17 00:00:00 2001 From: David Hirschfeld Date: Fri, 12 Jun 2020 22:02:17 +1000 Subject: [PATCH 09/10] whack --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e9cbc4..6e771a0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,6 +50,8 @@ jobs: write-host $proc.StandardOutput write-host $proc.StandardError write-host 'BBBBB' + conda list + write-host 'CCCCC' - name: Install Notebook and widgets run: | mamba install -y -c conda-forge xtensor From 270620594afaebb4b5637d688fc35cb5c82eef6d Mon Sep 17 00:00:00 2001 From: David Hirschfeld Date: Fri, 12 Jun 2020 22:10:37 +1000 Subject: [PATCH 10/10] whack --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6e771a0..cbb8169 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,6 +52,8 @@ jobs: 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 install -y -c conda-forge xtensor