Skip to content

Commit

Permalink
try fixing failing github test
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Kümmmerer <[email protected]>
  • Loading branch information
matthias-k committed Nov 7, 2023
1 parent 2d6cc18 commit 70d2b2c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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: |
Expand All @@ -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"

0 comments on commit 70d2b2c

Please sign in to comment.