File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed
spyder/plugins/maininterpreter/widgets/tests Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 14
14
if [ " $USE_CONDA " = " true" ]; then
15
15
16
16
# Install Python and main dependencies
17
- mamba install python=$PYTHON_VERSION -q -y
18
- mamba env update --file requirements/main.yml
17
+ # mamba install python=$PYTHON_VERSION -q -y
19
18
20
19
# Install dependencies per operating system
21
20
if [ " $OS " = " win" ]; then
22
21
mamba env update --file requirements/windows.yml
23
22
elif [ " $OS " = " macos" ]; then
23
+ mamba install python=$PYTHON_VERSION -q -y
24
+ mamba env update --file requirements/main.yml
24
25
mamba env update --file requirements/macos.yml
25
26
else
27
+ mamba install python=$PYTHON_VERSION -q -y
28
+ mamba env update --file requirements/main.yml
26
29
mamba env update --file requirements/linux.yml
27
30
fi
28
31
Original file line number Diff line number Diff line change @@ -91,15 +91,12 @@ jobs:
91
91
key : ${{ runner.os }}-cachepip-install${{ matrix.INSTALL_TYPE }}-${{ env.CACHE_NUMBER }}-${{ hashFiles('setup.py') }}
92
92
- name : Install Conda
93
93
if : env.RUN_BUILD == 'true'
94
- uses : conda-incubator/setup-miniconda@v2
94
+ uses : mamba-org/provision-with-micromamba@main
95
95
with :
96
- activate-environment : test
97
- auto-update-conda : false
98
- auto-activate-base : false
99
- python-version : ${{ matrix.PYTHON_VERSION }}
100
- channels : conda-forge,defaults
101
- channel-priority : strict
102
- miniforge-variant : Mambaforge
96
+ environment-file : requirements/main.yml
97
+ environment-name : test
98
+ extra-specs : |
99
+ python=${{ matrix.PYTHON_VERSION }}
103
100
- name : Create test environment
104
101
if : env.RUN_BUILD == 'true'
105
102
shell : bash -l {0}
Original file line number Diff line number Diff line change 22
22
from spyder .plugins .maininterpreter .widgets .status import InterpreterStatus
23
23
24
24
25
+ @pytest .mark .order (1 )
25
26
@pytest .mark .skipif (not is_anaconda (), reason = "Requires conda to be installed" )
26
27
@pytest .mark .skipif (not running_in_ci (), reason = "Only meant for CIs" )
27
28
def test_conda_interpreter_status (status_bar , qtbot ):
You can’t perform that action at this time.
0 commit comments