File tree Expand file tree Collapse file tree 1 file changed +2
-33
lines changed Expand file tree Collapse file tree 1 file changed +2
-33
lines changed Original file line number Diff line number Diff line change @@ -14,42 +14,11 @@ jobs:
14
14
python-version : ${{ matrix.python-version }}
15
15
- name : Install Dependencies
16
16
run : |
17
- set -x
18
- set -e
19
- # $CONDA is an environment variable pointing to the root of the miniconda directory
20
- echo $CONDA/bin >> $GITHUB_PATH
21
- conda config --set always_yes yes --set changeps1 no
22
- conda config --add channels conda-forge
23
- conda update -q conda
24
- conda info -a
25
- conda create -n test-environment python=${{ matrix.python-version }} pytest numpy
26
- conda init
17
+ python -m pip install --upgrade pip
18
+ python -m install pytest numpy
27
19
28
20
- name : Run Tests
29
21
run : |
30
- # Copied from .bashrc. We can't just source .bashrc because it exits
31
- # when the shell isn't interactive.
32
-
33
- # >>> conda initialize >>>
34
- # !! Contents within this block are managed by 'conda init' !!
35
- __conda_setup="$('/usr/share/miniconda/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
36
- if [ $? -eq 0 ]; then
37
- eval "$__conda_setup"
38
- else
39
- if [ -f "/usr/share/miniconda/etc/profile.d/conda.sh" ]; then
40
- . "/usr/share/miniconda/etc/profile.d/conda.sh"
41
- else
42
- export PATH="/usr/share/miniconda/bin:$PATH"
43
- fi
44
- fi
45
- unset __conda_setup
46
- # <<< conda initialize <<<
47
-
48
- set -x
49
- set -e
50
-
51
- conda activate test-environment
52
-
53
22
pytest
54
23
55
24
# Make sure it installs
You can’t perform that action at this time.
0 commit comments