Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove temporary changes from pytest runs in CI #570

Merged
merged 7 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/pytest_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
path: ${{ env.CONDA }}/envs
key: conda-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('dev_requirements.txt') }}-${{ env.CACHE_NUMBER }}
env:
CACHE_NUMBER: 1 # Increase this value to force cache reset
CACHE_NUMBER: 0 # Increase this value to force cache reset
id: cache
# Display environment details
- name: Display environment details
Expand All @@ -57,15 +57,13 @@ jobs:
pip install pytest-split
pip install -r requirements.txt
pip install -r dev_requirements.txt
# Temporarily disabled due to svmbir failure with numpy 2.x under Python 3.12
# conda install -c conda-forge svmbir>=0.3.3
conda install -c astra-toolbox astra-toolbox
conda install -c conda-forge pyyaml
pip install --upgrade --force-reinstall scipy>=1.6.0 # Temporary fix for GLIBCXX_3.4.30 not found in conda forge version
pip install bm3d>=4.0.0
pip install bm4d>=4.0.0
pip install "ray[tune]>=2.5.0"
pip install hyperopt
conda install -c conda-forge svmbir>=0.4.0
conda install -c astra-toolbox astra-toolbox
conda install -c conda-forge pyyaml
# Install package to be tested
- name: Install package to be tested
run: pip install -e .
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/pytest_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
path: ${{ env.CONDA }}/envs
key: conda-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('dev_requirements.txt') }}-${{ env.CACHE_NUMBER }}
env:
CACHE_NUMBER: 1 # Increase this value to force cache reset
CACHE_NUMBER: 0 # Increase this value to force cache reset
id: cache
# Display environment details
- name: Display environment details
Expand All @@ -60,15 +60,13 @@ jobs:
pip install pytest-split
pip install -r requirements.txt
pip install -r dev_requirements.txt
# svmbir install temporarily disabled due to import errors
#conda install -c conda-forge svmbir>=0.3.3
conda install -c conda-forge astra-toolbox
conda install -c conda-forge pyyaml
pip install --upgrade --force-reinstall scipy>=1.6.0 # Temporary fix for GLIBCXX_3.4.30 not found in conda forge version
pip install bm3d>=4.0.0
pip install bm4d>=4.2.2
pip install bm3d>=4.0.0
pip install "ray[tune]>=2.5.0"
pip install hyperopt
conda install -c conda-forge svmbir>=0.4.0
conda install -c conda-forge astra-toolbox
conda install -c conda-forge pyyaml
# Install package to be tested
- name: Install package to be tested
run: pip install -e .
Expand Down
2 changes: 1 addition & 1 deletion examples/examples_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-r ../requirements.txt
colour_demosaicing
svmbir>=0.3.3
svmbir>=0.4.0
astra-toolbox
xdesign>=0.5.5
ray[tune,train]>=2.5.0
Expand Down
Loading