diff --git a/.github/workflows/ci-workflow.yaml b/.github/workflows/ci-workflow.yaml index b2cd923..1e0a6e6 100644 --- a/.github/workflows/ci-workflow.yaml +++ b/.github/workflows/ci-workflow.yaml @@ -56,34 +56,28 @@ jobs: uses: actions/checkout@v1 - name: Setup conda - env: - PATH: "/usr/share/miniconda/bin:$PATH" run: | - echo $PATH # temp + export PATH="/usr/share/miniconda/bin:$PATH" conda config --set always_yes yes --set changeps1 no conda update -q conda - - name: Install dependencies - env: - PATH: "/usr/share/miniconda/bin:$PATH" run: | + export PATH="/usr/share/miniconda/bin:$PATH" conda create -n testenv --yes -c conda-forge pip python=${{ matrix.python }} numpy=${{ matrix.numpy }} pandas=${{ matrix.pandas }} scipy=${{ matrix.scipy }} libgfortran=${{ matrix.libgfortran }} source activate testenv pip install -e .[dev] shell: bash - name: Linting - env: - PATH: "/usr/share/miniconda/bin:$PATH" run: | + export PATH="/usr/share/miniconda/bin:$PATH" source activate testenv flake8 . - name: Tests - env: - PATH: "/usr/share/miniconda/bin:$PATH" run: | + export PATH="/usr/share/miniconda/bin:$PATH" source activate testenv nosetests source deactivate