From 70d2b2c3e9e82f06aef2fc90ecc2bb275ea9030f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=BCmmmerer?= Date: Tue, 7 Nov 2023 10:30:08 +0100 Subject: [PATCH] try fixing failing github test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matthias Kümmmerer --- .github/workflows/test-package-conda.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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"