diff --git a/.github/workflows/test-package-conda.yml b/.github/workflows/test-package-conda.yml index 8c6668d..2479f4a 100644 --- a/.github/workflows/test-package-conda.yml +++ b/.github/workflows/test-package-conda.yml @@ -26,8 +26,8 @@ jobs: - name: Install dependencies run: | # conda env update --file environment.yml --name base - conda config --add channels conda-forge - conda install \ + #conda config --add channels conda-forge + pip install \ boltons \ cython \ deprecation \ @@ -52,7 +52,6 @@ jobs: sphinx \ torchvision \ tqdm - ls /usr/share/miniconda/lib/ pip install h5py # https://github.com/h5py/h5py/issues/1880 # - name: Lint with flake8 # run: | @@ -63,12 +62,13 @@ jobs: # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - conda install pytest hypothesis + # conda install pytest hypothesis + pip install pytest hypothesis python setup.py build_ext --inplace python -m pytest --nomatlab --notheano tests - name: test build and install run: | - $CONDA/bin/python setup.py sdist - $CONDA/bin/pip install dist/*.tar.gz + python setup.py sdist + pip install dist/*.tar.gz mkdir tmp && cd tmp && python -c "import pysaliency"