From 6e1e9e60526367ddaa049dea4095aa149310421e Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Tue, 6 Feb 2024 12:03:58 -0500 Subject: [PATCH 1/8] try using WSL --- .github/workflows/build.yaml | 21 +++++++++--------- .github/workflows/test.yaml | 43 +++++++++++++++++++++++++++--------- 2 files changed, 43 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d996c02..ae9c7b3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -25,23 +25,16 @@ on: concurrency: group: build-${{ github.ref }} -defaults: - run: - shell: micromamba-shell {0} - jobs: date: runs-on: ubuntu-latest steps: - run: echo "date=$(date +%Y-%m-%d)" >> $GITHUB_OUTPUT id: date - shell: bash outputs: date: ${{ steps.date.outputs.date }} version: runs-on: ubuntu-latest - outputs: - version: ${{ steps.version.outputs.version }} steps: - uses: actions/checkout@v4 with: @@ -53,16 +46,23 @@ jobs: id: version with: args: --pattern "(?P\d+\.\d+\.\d+)" + outputs: + version: ${{ steps.version.outputs.version }} build: needs: [ date, version ] strategy: fail-fast: false matrix: - runs-on: [ ubuntu-latest, macos-latest, macos-14 ] + runs-on: [ ubuntu-latest, macos-latest, macos-14, windows-latest ] python-version: [ '3.9', '3.10', '3.11' ] runs-on: ${{ matrix.runs-on }} name: build (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) + defaults: + run: + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} steps: + - if: matrix.runs-on == 'windows-latest' + uses: Vampire/setup-wsl@v2 - uses: actions/checkout@v4 - uses: mamba-org/setup-micromamba@v1 with: @@ -75,8 +75,9 @@ jobs: cache-downloads-key: downloads-${{ needs.date.outputs.date }} cache-environment: true cache-environment-key: environment-${{ needs.date.outputs.date }} - init-shell: none - generate-run-shell: true + init-shell: >- + ${{ matrix.runs-on != 'windows' && 'bash' || 'wsl-bash' }} + generate-run-shell: false - run: conda env export --no-build | grep -v "name:" | grep -v "prefix:" - run: pytest -n auto tests/test_import.py - run: echo "filename=stenv-${{ runner.os }}-${{ runner.arch }}-py${{ matrix.python-version }}-${{ needs.version.outputs.version }}.yaml" >> $GITHUB_OUTPUT diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4788ba0..5953173 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,10 +8,6 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true -defaults: - run: - shell: micromamba-shell {0} - env: CRDS_PATH: /tmp/crds_cache CRDS_CLIENT_RETRY_COUNT: 3 @@ -27,7 +23,7 @@ jobs: strategy: matrix: package: [ acstools, asdf, calcos, ccdproc, costools, synphot, jwst ] - runs-on: [ ubuntu-latest, macos-latest, macos-14 ] + runs-on: [ ubuntu-latest, macos-latest, macos-14, windows-latest ] python-version: [ '3.9', '3.10', '3.11' ] include: - package: acstools @@ -68,7 +64,12 @@ jobs: fail-fast: false runs-on: ${{ matrix.runs-on }} name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, tox ${{ matrix.default_factors }}${{ matrix.args != '' && ' -- ' || '' }}${{ matrix.args }}, ${{ matrix.runs-on }}) + defaults: + run: + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} steps: + - if: matrix.runs-on == 'windows-latest' + uses: Vampire/setup-wsl@v2 - uses: actions/checkout@v4 with: path: stenv @@ -119,10 +120,9 @@ jobs: unit_tests_via_package: needs: [ build ] strategy: - fail-fast: false matrix: package: [ reftools, wfpc2tools ] - runs-on: [ ubuntu-latest, macos-latest, macos-14 ] + runs-on: [ ubuntu-latest, macos-latest, macos-14, windows-latest ] python-version: [ '3.9', '3.10', '3.11' ] include: #- package: pysynphot @@ -139,9 +139,15 @@ jobs: python-version: '3.9' - runs-on: macos-14 python-version: '3.10' + fail-fast: false runs-on: ${{ matrix.runs-on }} name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) + defaults: + run: + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} steps: + - if: matrix.runs-on == 'windows' + uses: Vampire/setup-wsl@v2 - uses: actions/checkout@v4 - uses: mamba-org/setup-micromamba@v1 with: @@ -177,7 +183,7 @@ jobs: strategy: matrix: package: [ hstcal ] - runs-on: [ ubuntu-latest, macos-latest, macos-14 ] + runs-on: [ ubuntu-latest, macos-latest, macos-14, windows-latest ] python-version: [ '3.9', '3.10', '3.11' ] include: #- package: drizzlepac @@ -206,7 +212,12 @@ jobs: fail-fast: false runs-on: ${{ matrix.runs-on }} name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) + defaults: + run: + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} steps: + - if: matrix.runs-on == 'windows-latest' + uses: Vampire/setup-wsl@v2 - uses: actions/checkout@v4 with: path: stenv @@ -262,10 +273,9 @@ jobs: CRDS_TEST_ROOT: /tmp CRDS_TESTING_CACHE: /tmp/crds-cache-test strategy: - fail-fast: false matrix: package: [ crds ] - runs-on: [ ubuntu-latest, macos-latest, macos-14 ] + runs-on: [ ubuntu-latest, macos-latest, macos-14, windows-latest ] python-version: [ '3.9', '3.10', '3.11' ] include: - package: crds @@ -279,9 +289,15 @@ jobs: python-version: '3.9' - runs-on: macos-14 python-version: '3.10' + fail-fast: false runs-on: ${{ matrix.runs-on }} name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) + defaults: + run: + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} steps: + - if: matrix.runs-on == 'windows-latest' + uses: Vampire/setup-wsl@v2 - uses: actions/checkout@v4 with: path: stenv @@ -327,7 +343,7 @@ jobs: strategy: matrix: package: [ calcos, drizzlepac ] - runs-on: [ ubuntu-latest, macos-latest, macos-14 ] + runs-on: [ ubuntu-latest, macos-latest, macos-14, windows-latest ] python-version: [ '3.9', '3.10', '3.11' ] include: - package: calcos @@ -352,7 +368,12 @@ jobs: fail-fast: false runs-on: ${{ matrix.runs-on }} name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) + defaults: + run: + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} steps: + - if: matrix.runs-on == 'windows-latest' + uses: Vampire/setup-wsl@v2 - uses: actions/checkout@v4 with: lfs: true From 987ad8b1671edc4297a1f6a441d064efc3a7e34b Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Tue, 6 Feb 2024 12:20:22 -0500 Subject: [PATCH 2/8] debug --- .github/workflows/build.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ae9c7b3..b3d5896 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -62,7 +62,10 @@ jobs: shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} steps: - if: matrix.runs-on == 'windows-latest' + id: wsl uses: Vampire/setup-wsl@v2 + - if: matrix.runs-on == 'windows-latest' + run: echo ${{ steps.wsl.outputs.wsl-shell-distribution-wrapper-path }} - uses: actions/checkout@v4 - uses: mamba-org/setup-micromamba@v1 with: From dfc17ef18a82df1012da66bd135851667f5b0ddb Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Tue, 6 Feb 2024 12:23:23 -0500 Subject: [PATCH 3/8] fix bash --- .github/workflows/build.yaml | 2 +- .github/workflows/test.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b3d5896..21a9cf5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -59,7 +59,7 @@ jobs: name: build (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) defaults: run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - if: matrix.runs-on == 'windows-latest' id: wsl diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5953173..e1ee074 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -66,7 +66,7 @@ jobs: name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, tox ${{ matrix.default_factors }}${{ matrix.args != '' && ' -- ' || '' }}${{ matrix.args }}, ${{ matrix.runs-on }}) defaults: run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - if: matrix.runs-on == 'windows-latest' uses: Vampire/setup-wsl@v2 @@ -144,7 +144,7 @@ jobs: name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) defaults: run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - if: matrix.runs-on == 'windows' uses: Vampire/setup-wsl@v2 @@ -214,7 +214,7 @@ jobs: name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) defaults: run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - if: matrix.runs-on == 'windows-latest' uses: Vampire/setup-wsl@v2 @@ -294,7 +294,7 @@ jobs: name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) defaults: run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - if: matrix.runs-on == 'windows-latest' uses: Vampire/setup-wsl@v2 @@ -370,7 +370,7 @@ jobs: name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) defaults: run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo {0}' || 'wsl-bash {0}' }} + shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - if: matrix.runs-on == 'windows-latest' uses: Vampire/setup-wsl@v2 From e3dfa118e70752eb94fd4b0e728a8399f7b0abcf Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Tue, 6 Feb 2024 12:38:13 -0500 Subject: [PATCH 4/8] build for WSL in separate job build for WSL in separate job --- .github/workflows/build.yaml | 33 +++++++++++++++++++++--------- .github/workflows/test.yaml | 39 +++++++++--------------------------- 2 files changed, 32 insertions(+), 40 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 21a9cf5..ceee67a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -51,21 +51,16 @@ jobs: build: needs: [ date, version ] strategy: - fail-fast: false matrix: - runs-on: [ ubuntu-latest, macos-latest, macos-14, windows-latest ] + runs-on: [ ubuntu-latest, macos-latest, macos-14 ] python-version: [ '3.9', '3.10', '3.11' ] + fail-fast: false runs-on: ${{ matrix.runs-on }} name: build (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) defaults: run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} + shell: bash -leo pipefail {0} steps: - - if: matrix.runs-on == 'windows-latest' - id: wsl - uses: Vampire/setup-wsl@v2 - - if: matrix.runs-on == 'windows-latest' - run: echo ${{ steps.wsl.outputs.wsl-shell-distribution-wrapper-path }} - uses: actions/checkout@v4 - uses: mamba-org/setup-micromamba@v1 with: @@ -78,8 +73,7 @@ jobs: cache-downloads-key: downloads-${{ needs.date.outputs.date }} cache-environment: true cache-environment-key: environment-${{ needs.date.outputs.date }} - init-shell: >- - ${{ matrix.runs-on != 'windows' && 'bash' || 'wsl-bash' }} + init-shell: bash generate-run-shell: false - run: conda env export --no-build | grep -v "name:" | grep -v "prefix:" - run: pytest -n auto tests/test_import.py @@ -95,3 +89,22 @@ jobs: uses: svenstaro/upload-release-action@v2 with: file: ${{ steps.output.outputs.filename }} + build_wsl: + needs: [ date, version ] + runs-on: windows-latest + name: build (WSL) + defaults: + run: + shell: wsl-bash {0} + steps: + - uses: Vampire/setup-wsl@v2 + with: + additional-packages: curl + - name: install micromamba + run: | + mkdir -p ~/micromamba-bin/ + curl -o ~/micromamba-bin/micromamba https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-linux-64 + ~/micromamba-bin/micromamba shell --init + - run: micromamba env create --name stenv-wsl --file https://raw.githubusercontent.com/spacetelescope/stenv/main/environment.yaml + + diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e1ee074..e1c2509 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -15,6 +15,10 @@ env: PYSYN_CDBS: /tmp/trds LD_LIBRARY_PATH: /usr/local/lib +defaults: + run: + shell: bash -leo pipefail {0} + jobs: build: uses: ./.github/workflows/build.yaml @@ -23,7 +27,7 @@ jobs: strategy: matrix: package: [ acstools, asdf, calcos, ccdproc, costools, synphot, jwst ] - runs-on: [ ubuntu-latest, macos-latest, macos-14, windows-latest ] + runs-on: [ ubuntu-latest, macos-latest, macos-14 ] python-version: [ '3.9', '3.10', '3.11' ] include: - package: acstools @@ -64,12 +68,7 @@ jobs: fail-fast: false runs-on: ${{ matrix.runs-on }} name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, tox ${{ matrix.default_factors }}${{ matrix.args != '' && ' -- ' || '' }}${{ matrix.args }}, ${{ matrix.runs-on }}) - defaults: - run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - - if: matrix.runs-on == 'windows-latest' - uses: Vampire/setup-wsl@v2 - uses: actions/checkout@v4 with: path: stenv @@ -122,7 +121,7 @@ jobs: strategy: matrix: package: [ reftools, wfpc2tools ] - runs-on: [ ubuntu-latest, macos-latest, macos-14, windows-latest ] + runs-on: [ ubuntu-latest, macos-latest, macos-14 ] python-version: [ '3.9', '3.10', '3.11' ] include: #- package: pysynphot @@ -142,12 +141,7 @@ jobs: fail-fast: false runs-on: ${{ matrix.runs-on }} name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) - defaults: - run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - - if: matrix.runs-on == 'windows' - uses: Vampire/setup-wsl@v2 - uses: actions/checkout@v4 - uses: mamba-org/setup-micromamba@v1 with: @@ -183,7 +177,7 @@ jobs: strategy: matrix: package: [ hstcal ] - runs-on: [ ubuntu-latest, macos-latest, macos-14, windows-latest ] + runs-on: [ ubuntu-latest, macos-latest, macos-14 ] python-version: [ '3.9', '3.10', '3.11' ] include: #- package: drizzlepac @@ -212,12 +206,7 @@ jobs: fail-fast: false runs-on: ${{ matrix.runs-on }} name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) - defaults: - run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - - if: matrix.runs-on == 'windows-latest' - uses: Vampire/setup-wsl@v2 - uses: actions/checkout@v4 with: path: stenv @@ -275,7 +264,7 @@ jobs: strategy: matrix: package: [ crds ] - runs-on: [ ubuntu-latest, macos-latest, macos-14, windows-latest ] + runs-on: [ ubuntu-latest, macos-latest, macos-14 ] python-version: [ '3.9', '3.10', '3.11' ] include: - package: crds @@ -292,12 +281,7 @@ jobs: fail-fast: false runs-on: ${{ matrix.runs-on }} name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) - defaults: - run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - - if: matrix.runs-on == 'windows-latest' - uses: Vampire/setup-wsl@v2 - uses: actions/checkout@v4 with: path: stenv @@ -343,7 +327,7 @@ jobs: strategy: matrix: package: [ calcos, drizzlepac ] - runs-on: [ ubuntu-latest, macos-latest, macos-14, windows-latest ] + runs-on: [ ubuntu-latest, macos-latest, macos-14 ] python-version: [ '3.9', '3.10', '3.11' ] include: - package: calcos @@ -368,12 +352,7 @@ jobs: fail-fast: false runs-on: ${{ matrix.runs-on }} name: ${{ matrix.package }} (Python ${{ matrix.python-version }}, ${{ matrix.runs-on }}) - defaults: - run: - shell: ${{ matrix.runs-on != 'windows-latest' && 'bash -leo pipefail {0}' || 'wsl-bash {0}' }} steps: - - if: matrix.runs-on == 'windows-latest' - uses: Vampire/setup-wsl@v2 - uses: actions/checkout@v4 with: lfs: true From 572479733970a4a98b28beb85b62ee075444ccdb Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Tue, 6 Feb 2024 12:44:52 -0500 Subject: [PATCH 5/8] don't check certificate --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ceee67a..3841e50 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -99,11 +99,11 @@ jobs: steps: - uses: Vampire/setup-wsl@v2 with: - additional-packages: curl + additional-packages: wget - name: install micromamba run: | mkdir -p ~/micromamba-bin/ - curl -o ~/micromamba-bin/micromamba https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-linux-64 + wget -o ~/micromamba-bin/micromamba https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-linux-64 --no-check-certificate ~/micromamba-bin/micromamba shell --init - run: micromamba env create --name stenv-wsl --file https://raw.githubusercontent.com/spacetelescope/stenv/main/environment.yaml From 94995bb71e2305bd0ac4cb4080c0b4aac9ab38ac Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Tue, 6 Feb 2024 12:46:39 -0500 Subject: [PATCH 6/8] separate run steps --- .github/workflows/build.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3841e50..786e8b1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -100,11 +100,9 @@ jobs: - uses: Vampire/setup-wsl@v2 with: additional-packages: wget - - name: install micromamba - run: | - mkdir -p ~/micromamba-bin/ - wget -o ~/micromamba-bin/micromamba https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-linux-64 --no-check-certificate - ~/micromamba-bin/micromamba shell --init + - run: mkdir -p ~/micromamba-bin/ + - run: wget -o ~/micromamba-bin/micromamba https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-linux-64 --no-check-certificate + - run: ~/micromamba-bin/micromamba shell --init - run: micromamba env create --name stenv-wsl --file https://raw.githubusercontent.com/spacetelescope/stenv/main/environment.yaml From af8a18d097b9bc42efda6dc40a8011a034faba01 Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Tue, 6 Feb 2024 12:47:14 -0500 Subject: [PATCH 7/8] executable permission --- .github/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 786e8b1..ee9852c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -102,6 +102,7 @@ jobs: additional-packages: wget - run: mkdir -p ~/micromamba-bin/ - run: wget -o ~/micromamba-bin/micromamba https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-linux-64 --no-check-certificate + - run: chmod +x ~/micromamba-bin/micromamba - run: ~/micromamba-bin/micromamba shell --init - run: micromamba env create --name stenv-wsl --file https://raw.githubusercontent.com/spacetelescope/stenv/main/environment.yaml From 044af128a5bec1877cdebe5eccbde74792a80964 Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Tue, 6 Feb 2024 12:49:52 -0500 Subject: [PATCH 8/8] try initing bash --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ee9852c..29ff1dd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -103,7 +103,7 @@ jobs: - run: mkdir -p ~/micromamba-bin/ - run: wget -o ~/micromamba-bin/micromamba https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-linux-64 --no-check-certificate - run: chmod +x ~/micromamba-bin/micromamba - - run: ~/micromamba-bin/micromamba shell --init + - run: ~/micromamba-bin/micromamba shell --init bash - run: micromamba env create --name stenv-wsl --file https://raw.githubusercontent.com/spacetelescope/stenv/main/environment.yaml