File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,29 +21,28 @@ jobs:
2121 - { os: macos-latest }
2222 - { os: windows-latest }
2323 - { os: windows-11-arm }
24-
25- - uses : mamba-org/setup-micromamba@v2
26- with :
27- environment-file : environment.yml
28- init-shell : >-
29- bash
30- powershell
31- cache-environment : true
32- post-cleanup : ' all'
33- - name : Import numpy in micromamba environment (bash)
34- run : python -c "import numpy"
35- shell : bash -el {0}
36- - name : Import numpy in micromamba environment (pwsh)
37- run : python -c "import numpy"
38- shell : pwsh
39- - name : Run custom command in micromamba environment
40- run : pytest --version
41- shell : micromamba-shell {0}
4224
43- # - name: Setup python
44- # uses: actions/setup-python@v5
45- # with:
46- # python-version: ${{ matrix.python }}
25+ - name : Setup python
26+ uses : mamba-org/setup-micromamba@v2
27+ with :
28+ environment-file : environment.yml
29+ init-shell : >-
30+ bash
31+ powershell
32+ cache-environment: true
33+ post-cleanup: 'all'
34+
35+ - name : Import numpy in micromamba environment (bash)
36+ run : python -c "import numpy"
37+ shell : bash -el {0}
38+
39+ - name : Import numpy in micromamba environment (pwsh)
40+ run : python -c "import numpy"
41+ shell : pwsh
42+
43+ - name : Run custom command in micromamba environment
44+ run : pytest --version
45+ shell : micromamba-shell {0}
4746
4847 # - name: Setup MPI
4948 # uses: mpi4py/setup-mpi@v1
You can’t perform that action at this time.
0 commit comments