File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -56,25 +56,33 @@ jobs:
5656 uses : actions/checkout@v1
5757
5858 - name : Setup conda
59+ env :
60+ PATH : " /usr/share/miniconda/bin:$PATH"
5961 run : |
60- export PATH="/usr/share/miniconda/bin: $PATH"
62+ echo $PATH # temp
6163 conda config --set always_yes yes --set changeps1 no
6264 conda update -q conda
65+ conda create -n testenv --yes -c conda-forge pip python=${{ matrix.python }} numpy=${{ matrix.numpy }} pandas=${{ matrix.pandas }} scipy=${{ matrix.scipy }} libgfortran=${{ matrix.libgfortran }}
66+
6367
6468 - name : Install dependencies
69+ env :
70+ PATH : " /usr/share/miniconda/bin:$PATH"
6571 run : |
66- export PATH="/usr/share/miniconda/bin:$PATH"
67- echo $PATH # check to see if new shell is opened
68- conda create -n testenv --yes -c conda-forge pip python=${{ matrix.python }} numpy=${{ matrix.numpy }} pandas=${{ matrix.pandas }} scipy=${{ matrix.scipy }} libgfortran=${{ matrix.libgfortran }}
6972 source activate testenv
7073 pip install -e .[dev]
71- flake8 .
72- shell : bash
7374
7475 - name : Linting
75- run : flake8 .
76+ env :
77+ PATH : " /usr/share/miniconda/bin:$PATH"
78+ run : |
79+ source activate testenv
80+ flake8 .
7681
7782 - name : Tests
83+ env :
84+ PATH : " /usr/share/miniconda/bin:$PATH"
7885 run : |
86+ source activate testenv
7987 nosetests
8088 source deactivate
You can’t perform that action at this time.
0 commit comments