Skip to content

Commit c588fa8

Browse files
author
Dani Sim
committed
activate venv in each step.
1 parent fda429d commit c588fa8

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/ci-workflow.yaml

+4-10
Original file line numberDiff line numberDiff line change
@@ -56,34 +56,28 @@ jobs:
5656
uses: actions/checkout@v1
5757

5858
- name: Setup conda
59-
env:
60-
PATH: "/usr/share/miniconda/bin:$PATH"
6159
run: |
62-
echo $PATH # temp
60+
export PATH="/usr/share/miniconda/bin:$PATH"
6361
conda config --set always_yes yes --set changeps1 no
6462
conda update -q conda
6563
66-
6764
- name: Install dependencies
68-
env:
69-
PATH: "/usr/share/miniconda/bin:$PATH"
7065
run: |
66+
export PATH="/usr/share/miniconda/bin:$PATH"
7167
conda create -n testenv --yes -c conda-forge pip python=${{ matrix.python }} numpy=${{ matrix.numpy }} pandas=${{ matrix.pandas }} scipy=${{ matrix.scipy }} libgfortran=${{ matrix.libgfortran }}
7268
source activate testenv
7369
pip install -e .[dev]
7470
shell: bash
7571

7672
- name: Linting
77-
env:
78-
PATH: "/usr/share/miniconda/bin:$PATH"
7973
run: |
74+
export PATH="/usr/share/miniconda/bin:$PATH"
8075
source activate testenv
8176
flake8 .
8277
8378
- name: Tests
84-
env:
85-
PATH: "/usr/share/miniconda/bin:$PATH"
8679
run: |
80+
export PATH="/usr/share/miniconda/bin:$PATH"
8781
source activate testenv
8882
nosetests
8983
source deactivate

0 commit comments

Comments
 (0)