Try explicitly using CONDA dir
@@ -10,13 +10,11 @@ jobs:
update-conda: true
python-version: 3.7
conda-channels: anaconda, conda-forge, pytorch
- - shell: bash -l {0}
- run: conda --version
- run: conda env create -f environment.yml
- run: conda init bash
- run: source activate braindecode
- run: conda info --envs
- - run: which python
- - run: python -c "import braindecode; print(braindecode.__version__)"
+ - run: $CONDA/bin/python -c "import braindecode; print(braindecode.__version__)"
# Install MOABB as well
- - run: pip install moabb
+ - run: $CONDA/bin/pip install moabb
