Skip to content

Commit 442c877

Browse files
author
Dani Sim
committed
Wip.
1 parent fe33efc commit 442c877

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/ci-workflow.yaml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)