Skip to content

Commit ee0c911

Browse files
committed
Fix-Pass login shell as default
1 parent 4f2cf6c commit ee0c911

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/build-mkl.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
python-version: ["3.11", "3.12"]
1111

1212
runs-on: ${{ matrix.platform }}
13+
defaults:
14+
run:
15+
shell: bash -l {0}
1316
steps:
1417
- uses: actions/checkout@v4
1518
- name: Get history and tags for SCM versioning to work
@@ -19,20 +22,20 @@ jobs:
1922
- uses: conda-incubator/setup-miniconda@v3.2.0
2023
with:
2124
use-mamba: true
22-
miniforge-version: latest
2325
channels: https://software.repos.intel.com/python/conda, conda-forge
2426
conda-remove-defaults: true
2527
python-version: ${{ matrix.python-version }}
28+
activate-environment: mkl-test-env
2629
- name: Install dependencies
2730
run: |
2831
conda install -y pyfftw
29-
python -m pip install -r requirements-intel-mkl.txt
30-
python -m pip install -r requirements-dev.txt
31-
python -m pip install -r requirements-torch.txt
32+
pip install -r requirements-intel-mkl.txt
33+
pip install -r requirements-dev.txt
34+
pip install -r requirements-torch.txt
3235
- name: Install pylops
3336
run: |
3437
python -m setuptools_scm
35-
python -m pip install .
38+
pip install .
3639
- name: Tests with pytest
3740
run: |
3841
pytest

0 commit comments

Comments
 (0)